diff options
author | ferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2010-01-13 09:41:29 +0000 |
---|---|---|
committer | ferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2010-01-13 09:41:29 +0000 |
commit | 43d65dc03325bcce8561423b9607f7e114355f7d (patch) | |
tree | 7bef4e532a43f4e98ee16b012dca7499ab547e5b /Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/Environ.h | |
parent | f1288ff2082a3330b62b60ee80521c37576ff9cc (diff) | |
download | pdf-as-3-43d65dc03325bcce8561423b9607f7e114355f7d.tar.gz pdf-as-3-43d65dc03325bcce8561423b9607f7e114355f7d.tar.bz2 pdf-as-3-43d65dc03325bcce8561423b9607f7e114355f7d.zip |
initial import
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@545 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/Environ.h')
-rw-r--r-- | Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/Environ.h | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/Environ.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/Environ.h new file mode 100644 index 0000000..a6b9c0f --- /dev/null +++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/Environ.h @@ -0,0 +1,78 @@ +/*********************************************************************
+
+ ADOBE SYSTEMS INCORPORATED
+ Copyright (C) 1994-2006 Adobe Systems Incorporated
+ All rights reserved.
+
+ NOTICE: Adobe permits you to use, modify, and distribute this file
+ in accordance with the terms of the Adobe license agreement
+ accompanying it. If you have received this file from a source other
+ than Adobe, then your use, modification, or distribution of it
+ requires the prior written permission of Adobe.
+
+ ---------------------------------------------------------------------
+
+ Environ.h
+
+ - This file checks for the existence of a PLATFORM macro and, if it
+ exists, #includes the file it points to. Said file should define
+ the macros listed below in accordance with the development platform,
+ runtime environment and runtime OS.
+
+ Same now applies for the PRODUCT macro.
+
+*********************************************************************/
+
+#ifndef _H_Environ
+#define _H_Environ
+
+#ifndef PLATFORM
+#ifdef WIN_ENV
+#define PLATFORM "winpltfm.h"
+#elif __OS2__
+#define PLATFORM "os2pltfm.h"
+#elif defined(unix) || defined(__unix)
+ #define PLATFORM "UnixPlatform.h"
+#else
+#error You must define the PLATFORM macro
+#endif
+#endif
+
+#include PLATFORM
+
+#define qWR 1
+
+#ifndef MAC_ENV
+#ifdef MAC_PLATFORM
+#define MAC_ENV 1 /* MAC_ENV is an archaic synonym for MAC_PLATFORM */
+#endif
+#endif
+
+#ifndef ACCB1
+#error PLATFORM failed to #define ACCB1
+#endif
+
+#ifndef ACCB2
+#error PLATFORM failed to #define ACCB2
+#endif
+
+#ifndef ACCBPROTO1
+#error PLATFORM failed to #define ACCBPROTO1
+#endif
+
+#ifndef ACCBPROTO2
+#error PLATFORM failed to #define ACCBPROTO2
+#endif
+
+#ifndef PRODUCT
+#if defined(WIN_ENV) || defined(UNIX_PLATFORM) || defined(OS2_PLATFORM)
+#define PRODUCT "Plugin.h"
+#else
+#error You must define the PRODUCT macro
+#endif
+#endif
+
+#include PRODUCT
+
+#endif
+
|