Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. /****************************   stdafx.h    **********************************
  2. * Author:        Agner Fog
  3. * Date created:  2006-07-15
  4. * Last modified: 2006-07-15
  5. * Project:       objconv
  6. * Module:        stdafx.h
  7. * Description:
  8. * Header file including other header files for the project.
  9. *
  10. * Copyright 2006-2008 GNU General Public License http://www.gnu.org/licenses
  11. *****************************************************************************/
  12.  
  13. #ifndef OBJCONV_STDAFX_H
  14. #define OBJCONV_STDAFX_H
  15.  
  16. // System header files
  17. #include <stdlib.h>
  18. #include <stdio.h>
  19. #include <string.h>
  20. #include <time.h>
  21. #ifdef _MSC_VER                  // For Microsoft compiler only:
  22.   #include <io.h>                // File in/out function headers
  23.   #include <fcntl.h>
  24.   #include <sys/stat.h>
  25.   #define stricmp _stricmp       // For later versions of MS compiler
  26.   #define strnicmp _strnicmp     // For later versions of MS compiler
  27.   #define filelength _filelength // For later versions of MS compiler
  28. #else                            // For Gnu and other compilers:
  29.   #define stricmp  strcasecmp    // Alternative function names
  30.   #define strnicmp strncasecmp
  31. #endif
  32.  
  33. // Project header files. The order of these files is not arbitrary.
  34. #include "maindef.h"      // Constants, integer types, etc.
  35. #include "error.h"        // Error handler
  36. #include "containers.h"   // Classes for data buffers and dynamic memory allocation
  37. #include "coff.h"         // COFF files structure
  38. #include "elf.h"          // ELF files structure
  39. #include "omf.h"          // OMF files structure
  40. #include "macho.h"        // Mach-O files structure
  41. #include "disasm.h"       // Structures and classes for disassembler
  42. #include "converters.h"   // Classes for file converters
  43. #include "library.h"      // Classes for reading and writing libraries
  44. #include "cmdline.h"      // Command line interpreter class
  45.  
  46. #endif // defined OBJCONV_STDAFX_H
  47.