summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1995-09-22 23:44:14 +0000
committerTheodore Tso <tytso@mit.edu>1995-09-22 23:44:14 +0000
commit6e79f86c38eb1f57a44e75a99193f2eac0b9d5d6 (patch)
treeab0c695b21a0f2baefb83bd094887eed0532c103 /src/include
parentbd5b50e32c6f8fff68a14e9282e5726df25dc232 (diff)
(from Keith Vetter's windows changes); define THREEPARAMOPEN and
prototype for sscanf. Also add #define for strncasecmp() to the microsoft's strnicmp() function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6814 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ChangeLog6
-rw-r--r--src/include/k5-int.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog
index c4ab0a6fe..78e05ca24 100644
--- a/src/include/ChangeLog
+++ b/src/include/ChangeLog
@@ -1,3 +1,9 @@
+Fri Sep 22 19:42:47 1995 Theodore Y. Ts'o <tytso@dcl>
+
+ * k5-int.h: (from Keith Vetter's windows changes); define
+ THREEPARAMOPEN and prototype for sscanf. Also add #define
+ for strncasecmp() to the microsoft's strnicmp() function.
+
Tue Sep 12 12:00:00 1995 John Rivlin <jrivlin@fusion.com>
* k5-int.h: Removed KRB5_REALM_CANT RESOLVE,
diff --git a/src/include/k5-int.h b/src/include/k5-int.h
index 981df0987..1b2b35627 100644
--- a/src/include/k5-int.h
+++ b/src/include/k5-int.h
@@ -137,6 +137,7 @@ typedef unsigned char u_char;
#include <fcntl.h>
#include <io.h>
#include <process.h>
+#define THREEPARAMOPEN(x,y,z) open(x,y,z)
#define O_RDONLY _O_RDONLY
#define O_WRONLY _O_WRONLY
#define O_RDWR _O_RDWR
@@ -173,8 +174,10 @@ typedef unsigned char u_char;
/* Functions with slightly different names on the PC
*/
#define strcasecmp _stricmp
+#define strncasecmp _strnicmp
#define strdup _strdup
#define off_t _off_t
+int sscanf(const char *str, char const *fmt0, ...);
#else /* Rest of include file is for non-Microloss-Windows */