summaryrefslogtreecommitdiffstats
path: root/public/sdk/inc/port1632.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--public/sdk/inc/port1632.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/public/sdk/inc/port1632.h b/public/sdk/inc/port1632.h
new file mode 100644
index 000000000..d24831d19
--- /dev/null
+++ b/public/sdk/inc/port1632.h
@@ -0,0 +1,40 @@
+/***************************************************************************\
+* Module Name: 1632PORT.H
+*
+* Copyright (c) 1985-1993, Microsoft Corporation
+*
+* Master include file for Portable Windows applications.
+*
+* History:
+* sanfords 1/10/91 Created
+*
+\***************************************************************************/
+
+/*
+ * This file maps a Meta-API for Windows to specific 16-bit or 32-bit forms
+ * allowing a single portable C source for windows to work on multiple
+ * versions of Windows.
+ */
+
+#ifndef _PORT1632_
+#define _PORT1632_
+
+#if defined(WIN16)
+/* ---------------- Maps to windows 3.0 and 3.1 16-bit APIs ----------------*/
+#include "ptypes16.h"
+#include "pwin16.h"
+#include "plan16.h"
+/* -------------------------------------------------------------------------*/
+
+#elif defined(WIN32)
+/* ---------------- Maps to windows 3.2 and 4.0 32-bit APIs ----------------*/
+#include "ptypes32.h"
+#include "pcrt32.h"
+#include "pwin32.h"
+#include "plan32.h"
+/* -------------------------------------------------------------------------*/
+#else
+#error You must define either WIN32 or WIN16
+#endif /* WIN32 or WIN16 */
+#endif /* ndef _PORT1632_ */
+