Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
1.2 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1994.
  5. //
  6. // File: layouthd.cxx
  7. //
  8. // Contents: Precompiled header for docfile layout
  9. //
  10. // History: 13-Feb-96 PhilipLa Created
  11. //
  12. //----------------------------------------------------------------------------
  13. #ifdef _MAC
  14. #define MAC_DOCFILE
  15. #endif
  16. #ifdef MAC_DOCFILE
  17. extern "C"
  18. {
  19. #include <nt.h>
  20. #include <ntrtl.h>
  21. #include <nturtl.h>
  22. }
  23. #include <windows.h>
  24. #include <ole2.h>
  25. #include <error.hxx>
  26. #include <debnot.h>
  27. #include "machead.hxx"
  28. #else
  29. #define SUPPORT_FILE_MAPPING
  30. extern "C"
  31. {
  32. #include <nt.h>
  33. #include <ntrtl.h>
  34. #include <nturtl.h>
  35. }
  36. #include <windows.h>
  37. #include <ole2.h>
  38. #include <error.hxx>
  39. #include <debnot.h>
  40. // we have to implement these ourselves
  41. #undef lstrcmpW
  42. #define lstrcmpW Laylstrcmp
  43. #undef lstrcpyW
  44. #define lstrcpyW Laylstrcpy
  45. #undef lstrcpynW
  46. #define lstrcpynW Laylstrcpyn
  47. #undef lstrlenW
  48. #define lstrlenW Laylstrlen
  49. #undef lstrcatW
  50. #define lstrcatW Laylstrcat
  51. #endif //_MAC
  52. #include "layout.hxx"
  53. #include "layouter.hxx"
  54. #include <msf.hxx>
  55. //#ifdef SUPPORT_FILE_MAPPING
  56. //#define MAPFILE void
  57. //#else
  58. #define MAPFILE CMappedFile
  59. //#endif
  60. #include "mapfile.hxx"