-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpatches.os2
39 lines (31 loc) · 1.03 KB
/
patches.os2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
diff -c orig/machdep.h new/machdep.h
*** orig/machdep.h Thu Oct 01 16:06:22 1992
--- new/machdep.h Thu Oct 08 21:20:12 1992
***************
*** 14,20 ****
# include <string.h>
# include <malloc.h>
! # define STRICMP(s1,s2) _stricmp (s1,s2)
# ifdef _WINDOWS
# define STRDUP(str) _strdup(str)
# else
--- 14,20 ----
# include <string.h>
# include <malloc.h>
! # define STRICMP(s1,s2) stricmp (s1,s2)
# ifdef _WINDOWS
# define STRDUP(str) _strdup(str)
# else
***************
*** 21,27 ****
# define STRDUP(str) strdup(str)
# endif
! # define USERNAME getenv("LOGNAME")!=NULL?getenv("LOGNAME"):getenv("USER")!=NULL?getenv("USER"):"Unknown")
# define GETTIME(tm,str) strftime(str,15,"%X",tm)
--- 21,27 ----
# define STRDUP(str) strdup(str)
# endif
! # define USERNAME getenv("LOGNAME")!=NULL?getenv("LOGNAME"):getenv("USER")!=NULL?getenv("USER"):"Unknown"
# define GETTIME(tm,str) strftime(str,15,"%X",tm)
Only in new: makefile.msc
Only in new: nenscript.def