home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / xmmx.zip / source / mmm_comm.h < prev    next >
C/C++ Source or Header  |  1996-12-14  |  890b  |  41 lines

  1. /**********************************************
  2. *   COMMON include file for MMMX Editor       *
  3. *   Contains UNIX/notUNIX specific functions  *
  4. ***********************************************/
  5.  
  6. #ifndef __INCLUDED_MMM_COMMON__
  7. #define __INCLUDED_MMM_COMMON__
  8. #include "mmmx.h"
  9. //&<<&#ifdef __DOS__ / WIN32 / __OS2__ / __linux__
  10. #ifdef __DOS__
  11.     #include "mmm_dos.h"
  12. #endif
  13. #ifdef WIN32
  14.     #include "mmm_w95.h"
  15. #endif
  16. #ifdef __OS2__
  17.     #include "mmm_os2.h"
  18. #endif
  19. #ifdef __linux__
  20.     #ifdef __X11__
  21.         #include "mmm_x11.h"
  22.     #else
  23.         #include "mmm_lnx.h"
  24.     #endif
  25. #endif
  26.  
  27. //&>>&9 0 9 0
  28.  
  29. extern char RunDir[];
  30. char *MFileName(char *s);
  31.  
  32. //&<<&#ifdef __linux__   // for compatibility
  33. #ifdef __linux__
  34.   extern void     _dos_getdrive( unsigned *__drive );
  35.   extern void     _dos_setdrive( unsigned __drivenum, unsigned *__drives );
  36. #endif
  37. //&>>&1 0 1 10
  38.  
  39. #endif
  40. //&>>&8 0 8 E
  41.