home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / print / ascii2ps / nenscrib / patches.os2 < prev    next >
Encoding:
Text File  |  1994-02-03  |  1.0 KB  |  40 lines

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