diff options
author | Keith Vetter <keithv@fusion.com> | 1995-04-14 00:56:21 +0000 |
---|---|---|
committer | Keith Vetter <keithv@fusion.com> | 1995-04-14 00:56:21 +0000 |
commit | 48e59557cdff501a25c809cda3f1dd34a27cc52f (patch) | |
tree | 3bbc11e8ef7f3866da45c06871f18b1fae020bcb /src/include/fake-stdlib.h | |
parent | 73bd684de42505fe4e6a15803ddf074c57db671c (diff) | |
download | krb5-48e59557cdff501a25c809cda3f1dd34a27cc52f.tar.gz krb5-48e59557cdff501a25c809cda3f1dd34a27cc52f.tar.xz krb5-48e59557cdff501a25c809cda3f1dd34a27cc52f.zip |
Windows global stuff:
o removed INTERFACE from non-api functions
o add FAR to pointers visible to the world
o made the tests for __STDC__ also check for _WINDOWS
o creates GSSAPI.DLL & GSSAPI.LIB as per spec.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5354 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/fake-stdlib.h')
-rw-r--r-- | src/include/fake-stdlib.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/include/fake-stdlib.h b/src/include/fake-stdlib.h index 77dfe4019c..5f021a2280 100644 --- a/src/include/fake-stdlib.h +++ b/src/include/fake-stdlib.h @@ -1,5 +1,4 @@ -#ifdef __STDC__ -# define P(s) s +#if defined(__STDC__) || defined(_WINDOWS) #else # define P(s) () #endif @@ -201,7 +200,7 @@ char *initstate P((unsigned , char *, int )); int isatty P((int )); double ldexp P((double , int )); int longjmperror P((void )); -#ifdef __STDC__ +#if defined(__STDC__) || defined(_WINDOWS) void *malloc P((size_t )); #else char *malloc P((unsigned )); @@ -466,7 +465,7 @@ struct ttyent *getttyent P((void )); struct ttyent *getttynam P((const char * )); unsigned long inet_network P((const char * )); int initgroups P((char * , int )); -#ifdef __STDC__ +#if defined(__STDC__) || defined(_WINDOWS) void *malloc P((unsigned )); #else char *malloc P((unsigned )); |