Custom Platform Support Development Kit  1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
FCMPreConfig.h
1 /*************************************************************************
2 * ADOBE CONFIDENTIAL
3 * ___________________
4 *
5 * Copyright [2013] Adobe Systems Incorporated
6 * All Rights Reserved.
7 *
8 * NOTICE: All information contained herein is, and remains
9 * the property of Adobe Systems Incorporated and its suppliers,
10 * if any. The intellectual and technical concepts contained
11 * herein are proprietary to Adobe Systems Incorporated and its
12 * suppliers and are protected by all applicable intellectual
13 * property laws, including trade secret and copyright laws.
14 * Dissemination of this information or reproduction of this material
15 * is strictly forbidden unless prior written permission is obtained
16 * from Adobe Systems Incorporated.
17 **************************************************************************/
18 
19 // Must be balanced with FCMPostConfig.h!!!!!
20 
21 #if defined(__x86_64__) || defined(_M_X64)
22 # define FCM_OS_64
23 #elif defined(__ppc64__)
24 # define FCM_OS_64
25 #else
26 # error "Unsupported FCM architecture"
27 #endif
28 
29 
30 #if defined(_WIN64)
31  #define FCM_OS_WIN
32 #elif defined(__MWERKS__) || defined(__APPLE__)
33  #define FCM_OS_MAC
34 #else
35  #error "Unsupported platform"
36 #endif
37 
38 #if defined(FCM_OS_64)
39  #define FCM_ALIGNMENT 16
40 #else
41  #error "Unsupported platform bit depth"
42 #endif
43 
44 
45 #ifdef FCM_OS_WIN
46 
49  //An include file uses the pack pragma to change the default structure alignment.
50  #pragma warning( disable : 4103)
51 
52 
53  #pragma warning(push)
54  #include "win/FCMPreAlign_WIN.h"
55 #elif defined(FCM_OS_MAC)
56  #include "mac/FCMPreAlign_MAC.h"
57 #else
58  #error "Unsupported platform"
59 #endif
60 
61 #ifndef FCM_PRE_CONFIG_H_
62 #define FCM_PRE_CONFIG_H_
63 
64 #endif // FCM_PRE_CONFIG_H_
65