From 6e79f86c38eb1f57a44e75a99193f2eac0b9d5d6 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Fri, 22 Sep 1995 23:44:14 +0000 Subject: [PATCH] (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 --- src/include/ChangeLog | 6 ++++++ src/include/k5-int.h | 3 +++ 2 files changed, 9 insertions(+) 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 + + * 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 * 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 #include #include +#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 */ -- 2.26.2