Guest User

0002-nethack-wrt-strcasecmp-fix.patch

a guest
Aug 3rd, 2014
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. ~ nethack-3.4.3/include/global.h
  2. --- nethack-3.4.3/include/global.h~ 2003-12-07 18:39:13.000000000 -0500
  3. +++ nethack-3.4.3/include/global.h 2014-08-03 10:23:03.000000000 -0400
  4. @@ -63,7 +63,8 @@
  5.  
  6. #ifndef STRNCMPI
  7. # ifndef __SASC_60 /* SAS/C already shifts to stricmp */
  8. -# define strcmpi(a,b) strncmpi((a),(b),-1)
  9. +//# define strcmpi(a,b) strncmpi((a),(b),-1)
  10. +# define strcmpi(a,b) strcasecmp((a),(b))
  11. # endif
  12. #endif
Add Comment
Please, Sign In to add comment