home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / MISC / MN325SRC.ZIP / makenl-3.2.5 / src / osmscwin.h < prev    next >
C/C++ Source or Header  |  2005-02-06  |  676b  |  33 lines

  1. /* $Id: osmscwin.h,v 1.2 2004/07/18 14:48:39 ozzmosis Exp $ */
  2.  
  3. #include <stdio.h>
  4. #include <stdlib.h>
  5. #include <io.h>
  6. #include <direct.h>
  7.  
  8. #define STR_DIRSEPARATOR "\\"
  9.  
  10. #define MYMAXFILE  FILENAME_MAX
  11. #define MYMAXDIR   MYMAXFILE
  12. #define MYMAXPATH  MYMAXFILE
  13. #define MYMAXEXT   13
  14. #define MYMAXDRIVE 3
  15. #define filecmp       stricmp
  16. #define filenodir(x) (strchr(x,'/') == NULL)
  17.  
  18. /* Needed definitions */
  19. #define OSFND "osmscfnd.c"
  20. #define OSFUL "osmscful.c"
  21. /* Overrides over defaults */
  22. #undef OSCWD
  23. #define OSCWD "osmsccwd.c"
  24.  
  25. #define HAVE_STRUPR
  26.  
  27. struct _filefind
  28. {
  29.     char path[MYMAXDIR];
  30.     int handle;
  31.     struct _finddata_t fileinfo;
  32. };
  33.