home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / mmm_pkg.zip / mmm_comm.h < prev    next >
C/C++ Source or Header  |  1996-12-05  |  850b  |  36 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.     #include "mmm_lnx.h"
  21. #endif
  22. //&>>&0 0 0 0
  23.  
  24. extern char RunDir[];
  25. char *MFileName(char *s);
  26.  
  27. //&<<&#ifdef __linux__   // for compatibility
  28. #ifdef __linux__
  29.   extern void     _dos_getdrive( unsigned *__drive );
  30.   extern void     _dos_setdrive( unsigned __drivenum, unsigned *__drives );
  31. #endif
  32. //&>>&1 0 1 0
  33.  
  34. #endif
  35. //&>>&D 0 D 1
  36.