home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / slfinsta.zip / include / os.h < prev    next >
C/C++ Source or Header  |  2000-03-26  |  487b  |  29 lines

  1. /* $Id: os.h,v 1.1 2000/03/27 04:53:06 ktk Exp $ */
  2.  
  3. #ifndef __os_h
  4. #define __os_h
  5.  
  6.  
  7. #if defined(AMIGA)
  8.   #define DIRSEP '/'
  9.   #define HI_LO_BYTE_ORDER
  10. #endif
  11.  
  12. #if defined(DOS) || defined(WINNT) || defined(WIN16)
  13.   #define DIRSEP '\\'
  14.   #define LO_HI_BYTE_ORDER
  15. #endif
  16.  
  17. #if defined(OS2) || defined(__EMX__)
  18.   #define DIRSEP '\\'
  19.   #define LO_HI_BYTE_ORDER
  20. #endif
  21.  
  22. #if defined(UNIX)
  23.   #define DIRSEP '/'
  24.   #define HI_LO_BYTE_ORDER
  25. #endif
  26.  
  27.  
  28. #endif /* __os_h */
  29.