summaryrefslogtreecommitdiffstats
path: root/src/include/win-mac.h
Commit message (Collapse)AuthorAgeFilesLines
* Build with Visual Studio 2012Ben Kaduk2013-06-251-1/+3
| | | | | | | | | | | | It's more aggressive about enforcing that keywords are not macros in C++ mode, and has bumped the MFC version to 11. Keep compatibility with older versions of Visual Studio, appropriately conditionalized. ticket: 7664 (new) tags: pullup target_version: 1.11.4
* Support changing the built-in ccache/keytab namesGreg Hudson2012-07-241-0/+3
| | | | | | | | | | | | | | * Add DEFCCNAME, DEFKTNAME, and DEFCKTNAME configure variables to change the built-in ccache and keytab names. * Add krb5-config options to display the built-in ccache and keytab names. * In the default build, use krb5-config to discover the system's built-in ccache and keytab names and use them (if not overridden). This can be controlled with the --with-krb5-config=PATH or --without-krb5-config configure options. * Make the built-in ccache name subject to parameter expansion. ticket: 7221 (new)
* KFW win-mac.h fixesKevin Wasserman2012-07-161-0/+6
| | | | | | | | | | | | | | | | kfw: add int16_t, uint16_t typedefs to win-mac.h uint16_t is used in chpw.c include stdlib.h, crtdbg.h in win-mac.h Allows leak-tracking using built-in msvc tools on windows. crtdbg.h needs to come _after_ stdlib.h, but _before_ checking for strdup. Define DEBUG and CRTDBG_MAP_ALLOC for full tracking. Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com> ticket: 7204 (new) tags: pullup
* Require IPv6 supportKen Raeburn2012-02-281-1/+0
| | | | | | | | | | | | | | The configure-time options to enable and disable IPv6 support have been deprecated for some time, but the checks for OS support were kept. This removes those checks, and unconditionally compiles in the IPv6 support. There was a configure-time test to see if the macro INET6 needed to be defined in order to enable (visibility of) OS support for IPv6, which was needed on an IRIX system we tested with. That check is retained, but the revised code is untested on IRIX. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25719 dc483132-0cff-0310-8789-dd5450dbe970
* win-mac.h additions for windows buildSam Hartman2011-09-281-1/+1
| | | | | | | | | windows implementation of k5_get_os_entropy() Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com> Signed-off-by: Sam Hartman <hartmans@debian.org> git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25242 dc483132-0cff-0310-8789-dd5450dbe970
* Protect autoconf #defines (HAVE_FOO, et al) in win-mac.h with #ifdef ↵Sam Hartman2011-09-191-0/+4
| | | | | | | | | KRB5_PRIVATE add -DKRB5_PRIVATE to CPPFLAGS in win-pre.in and to ALL_CXXFLAGS and ALL_CFLAGS in pre.in Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com> Signed-off-by: Sam Hartman <hartmans@debian.org> git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25199 dc483132-0cff-0310-8789-dd5450dbe970
* Fix Windows buildGreg Hudson2010-11-251-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Repair the Windows build. Tested with the prepare-on-Unix method. Some specific changes include: * Removed the IPC finalizer (no longer used after r20787) from ccapi/lib/ccapi_ipc.c, as it was creating a difficult dependency chain for the pingtest build in ccapi/test. Also updated pingtest to use the k5_ipc_stream interfaces since cci_stream is gone. * Reverted the apparently non-functional r20277. * klist -V prints just "Kerberos for Windows", since it has no access to PACKAGE_NAME and PACKAGE_VERSION from autoconf. This should be addressed correctly. * krb5, telnet, gssftp, and NIM are removed from the build. * Some files had CRLFs; these were replaced with LFs and the svn:eol-style property set on the files. Otherwise the CRLFs became CRCRLFs after the zip transfer. * Windows does not have opendir/readdir, so added Windows code to prof_parse.c for includedir. Probable fodder for a libkrb5support portability shim. ticket: 6826 target_version: 1.9 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24533 dc483132-0cff-0310-8789-dd5450dbe970
* Reindent include directory, reformatting prototypes as necessary.Greg Hudson2009-11-141-15/+16
| | | | | | | Exclude include/gssrpc due to its Sun origin and k5-platform.h due to macros too hairy for emacs c-mode to handle. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23180 dc483132-0cff-0310-8789-dd5450dbe970
* make mark-cstyleTom Yu2009-10-311-6/+6
| | | | | | make reindent git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23100 dc483132-0cff-0310-8789-dd5450dbe970
* Make windows debug message line endings match the Mac endings.Kevin Koch2008-01-221-0/+5
| | | | | | | | | | | | Windows needs k5-platform helper function declared explicitly. Change definition of ccs_pipe_t for windows. #define strdup -- it's now deprecated on windows. TargetVersion: 1.7 Component: krb5-libs Ticket: 5594 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20201 dc483132-0cff-0310-8789-dd5450dbe970
* Windows - some apps define ssize_t as a preprocessor symbolJeffrey Altman2007-02-281-0/+3
| | | | | | | | ticket: new component: krb5-libs tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19190 dc483132-0cff-0310-8789-dd5450dbe970
* Microsoft Windows Visual Studio does not define ssize_tJeffrey Altman2007-01-301-0/+8
| | | | | | | | | | | | | | Microsoft defines size_t but not ssize_t. Provide a definition in win-mac.h that follows the style used by Microsoft providing a preprocessor macro SSIZE_T_DEFINED which can be used for conditional definition and testing in case Microsoft decides to add it later. ticket: new tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19123 dc483132-0cff-0310-8789-dd5450dbe970
* Qing Dong <dongq@mit.edu> provided a set of changes to allowJeffrey Altman2006-02-271-15/+15
| | | | | | | | | | | | | krb5 to build under the Microsoft Visual Studio 8 compiler in 64-bit mode and produce file names that do not conflict with the names produced by the 32-bit build. That patch was modified to work on Unix and also include processor dependent pre-processor definitions to remove warnings. ticket: 3415 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17680 dc483132-0cff-0310-8789-dd5450dbe970
* * Correct function prototypes that should have been using Jeffrey Altman2005-11-151-6/+29
| | | | | | | | | | | | | | krb5_timestamp in order to prevent type conflicts if krb5_timestamp ever becomes a 64-bit value * Force the use of 32-bit time_t with Microsoft's VS 2005 compiler on 32-bit platforms * Test for inclusion of krb5.h before k5-int.h ticket: 2883 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17488 dc483132-0cff-0310-8789-dd5450dbe970
* win-mac.h: Add definitions for int32_t and uint32_tJeffrey Altman2005-10-201-0/+2
| | | | | | | ticket:new tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17441 dc483132-0cff-0310-8789-dd5450dbe970
* * win-mac.h: define NEED_INSIXADDR_ANY for ipv6 symbolJeffrey Altman2005-01-051-0/+1
| | | | | | ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17002 dc483132-0cff-0310-8789-dd5450dbe970
* * win-mac.h (HAVE_GETADDRINFO, HAVE_GETNAMEINFO): DefineKen Raeburn2004-11-191-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16892 dc483132-0cff-0310-8789-dd5450dbe970
* * win-mac.h (KRB5_USE_INET6, ENABLE_THREADS): DefineKen Raeburn2004-07-091-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16569 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Test for 'inline' support.Ken Raeburn2004-07-011-0/+2
| | | | | | | * k5-platform.h (inline): Don't define here. * win-mac.h (inline): Define as __inline. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16536 dc483132-0cff-0310-8789-dd5450dbe970
* * win-mac.h (HAVE_STRERROR, SYS_ERRLIST_DECLARED): DefineKen Raeburn2004-06-181-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16480 dc483132-0cff-0310-8789-dd5450dbe970
* fix GET{SOCK,PEER}NAME_ARG{2,3}_TYPE lossage I createdKen Raeburn2004-02-261-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16135 dc483132-0cff-0310-8789-dd5450dbe970
* * win-mac.h: conditionally define strcasecmp/strncasecmp macrosJeffrey Altman2004-01-051-0/+4
| | | | | | | | | | only if they do not already exist. ticket: new target_version: 1.3.2 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15963 dc483132-0cff-0310-8789-dd5450dbe970
* * win-mac.h: source code written to the C99 standard assumes thereJeffrey Altman2003-12-151-0/+5
| | | | | | | | | | | | | are standard definitions for the MAX sizes of C types including size_t. The MAX preprocessor variables are declared in limits.h but limits.h is not included by any of the other header files. We will therefore include it via win-mac.h. We must also add a declaration of SIZE_MAX (for size_t) because Microsoft does not provide one. ticket: 2040 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15927 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Don't test for labs, memmove or bcopy.Ken Raeburn2003-08-261-2/+0
| | | | | | | * k5-int.h (labs, HAVE_LABS): Never define. * win-mac.h (HAVE_LABS): Don't define. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15796 dc483132-0cff-0310-8789-dd5450dbe970
* * win-mac.h: Since this file is now only Win32, remove non-Win32Tom Yu2002-06-151-98/+18
| | | | | | | | | | | stuff to make it easier to read. Never used __declspec(dllexport) so that we do not accidentally export symbols. * win-mac.h: Add KRB5_CALLCONV_WRONG. [pullups from 1-2-2-branch] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14510 dc483132-0cff-0310-8789-dd5450dbe970
* KRB5_EXPORTVAR is defined lots of places but never used; delete itKen Raeburn2001-10-061-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13787 dc483132-0cff-0310-8789-dd5450dbe970
* Danilo also says we can get rid of _MSDOS (Win16) tests, and explicit ↵Ken Raeburn2001-10-061-51/+4
| | | | | | FAR/NEAR specs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13786 dc483132-0cff-0310-8789-dd5450dbe970
* Danilo says we can get rid of the DLLIMP stuff nowKen Raeburn2001-10-041-19/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13775 dc483132-0cff-0310-8789-dd5450dbe970
* assume ANSI C: delete no-volatile support, and most no-prototype supportKen Raeburn2001-04-261-2/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13201 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-4-13 Alexandra Ellwood <lxs@mit.edu>Alexandra Ellwood2000-04-131-0/+2
| | | | | | * win-mac.h: Set up the macintosh build to use KerberosLogin. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12165 dc483132-0cff-0310-8789-dd5450dbe970
* Remove #define HAVE_STRING_H from MacOS part of win-mac.h (oops)Miro Jurisic1999-09-131-2/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11807 dc483132-0cff-0310-8789-dd5450dbe970
* Added #define HAVE_STRING_H to win-mac.hMiro Jurisic1999-09-131-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11806 dc483132-0cff-0310-8789-dd5450dbe970
* Define MAXPATHLEN only if not already define. This helps avoidDanilo Almeida1999-08-101-0/+2
| | | | | | build warnings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11638 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed size_t redefinition on MacOSMiro Jurisic1999-07-261-5/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11602 dc483132-0cff-0310-8789-dd5450dbe970
* Updated header files to use OT Sockets libraryAlexandra Ellwood1999-05-271-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11473 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed Mac ENOMEMMiro Jurisic1999-05-061-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11423 dc483132-0cff-0310-8789-dd5450dbe970
* Changed stat.h typedefs to not be included if building with CodeWarrior, to ↵Miro Jurisic1999-03-271-1/+1
| | | | | | prevent conflicts with MSL stat.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11321 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed GSS_* macros for the MacMiro Jurisic1999-03-151-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11288 dc483132-0cff-0310-8789-dd5450dbe970
* Add definition for GSS_DLLIMP for non-Windows platformsTheodore Tso1999-03-121-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11269 dc483132-0cff-0310-8789-dd5450dbe970
* win-mac.h: Define GSS_DLLIMP to be __declspec(dllimport) orTheodore Tso1999-03-121-12/+17
| | | | | | __declspec(dllexport) depending on whether GSS_DLL_FILE is defined. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11263 dc483132-0cff-0310-8789-dd5450dbe970
* Replaced preprocessor symbol _MACINTOSH with macintosh, since macintosh is ↵Miro Jurisic1998-07-171-3/+3
| | | | | | the standard symbol defined by all Mac compiler (oh, sure, it doesn't have _. but at least it's always there) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10653 dc483132-0cff-0310-8789-dd5450dbe970
* Added magic incantations for Macintosh CFM-68KMiro Jurisic1998-07-141-3/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10634 dc483132-0cff-0310-8789-dd5450dbe970
* win-mac.h: Make size_t to be an unsigned long instead of unsigned intTheodore Tso1998-07-011-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10608 dc483132-0cff-0310-8789-dd5450dbe970
* Punt HAS_STDLIB_H, NO_STDLIB_H, POSIX_TYPES; see individual ChangeLogsTom Yu1997-10-021-1/+1
| | | | | | for details git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10204 dc483132-0cff-0310-8789-dd5450dbe970
* Remove KRB5_USE_INET, HAS_UNISTD_H, HAS_SETVBUF, and replaceTom Yu1997-09-261-1/+1
| | | | | | | with appropriate autoconf-style symbols. See individual ChangeLogs for details. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10202 dc483132-0cff-0310-8789-dd5450dbe970
* remove occurences of USE_STRING_H, HAS_STRDUP, and HAS_LABSTom Yu1997-09-191-4/+4
| | | | | | (see ChangeLogs for details) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10199 dc483132-0cff-0310-8789-dd5450dbe970
* Remove (probably unneeded) size_t definitionTheodore Tso1997-07-151-4/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10116 dc483132-0cff-0310-8789-dd5450dbe970
* Don't do all the setup if RES_ONLY is defined; only get the resourceRichard Basch1997-02-251-0/+8
| | | | | | definitions, since Win16's 'rc' can't handle much more. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9979 dc483132-0cff-0310-8789-dd5450dbe970
* win-mac.h: Contents of lib/krb5/os/win-pwd.h (resource definitions forRichard Basch1997-02-251-0/+6
| | | | | | Windows password dialog) have been included git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9977 dc483132-0cff-0310-8789-dd5450dbe970
* krb5.hin: Export krb5_read_password (Win16/32)Richard Basch1997-02-251-0/+2
| | | | | | win-mac.h: Declare get_lib_instance (win_glue.c) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9969 dc483132-0cff-0310-8789-dd5450dbe970