Changeset 12996


Ignore:
Timestamp:
2006-10-04T15:11:27+13:00 (18 years ago)
Author:
kjdon
Message:

changed u_char and u_long hash defines to typedefs, otherwise they can clash with other typedefs on windows

Location:
trunk/gsdl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/packages/mg/sysfuncs.h

    r8693 r12996  
    352352
    353353/* [RPAP - Feb 97: WIN32 Port] */
    354 #ifndef u_long
    355 # define u_long unsigned long
    356 #endif
    357 #ifndef u_char
    358 # define u_char unsigned char
    359 #endif
    360 
     354typedef unsigned char u_char;
     355typedef unsigned long u_long;
    361356
    362357#endif /* SYSFUNCS_H */
  • trunk/gsdl/src/mgpp/lib/sysfuncs.h

    r3048 r12996  
    378378
    379379/* [RPAP - Feb 97: WIN32 Port] */
    380 #ifndef u_long
    381 # define u_long unsigned long
    382 #endif
    383 #ifndef u_char
    384 # define u_char unsigned char
    385 #endif
    386 
     380typedef unsigned char u_char;
     381typedef unsigned long u_long;
    387382
    388383#endif /* SYSFUNCS_H */
Note: See TracChangeset for help on using the changeset viewer.