![]() |
SampleLib.hGo to the documentation of this file.00001 /************************************************************************** 00002 * ADOBE SYSTEMS INCORPORATED 00003 * Copyright 2007 Adobe Systems Incorporated 00004 * All Rights Reserved 00005 * 00006 * NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the 00007 * terms of the Adobe license agreement accompanying it. If you have received this file from a 00008 * source other than Adobe, then your use, modification, or distribution of it requires the prior 00009 * written permission of Adobe. 00010 **************************************************************************/ 00011 00018 /* 00019 Create definitions to auto-export the functions in this DLL. 00020 This works well for Windows, the Mac and HP/UX. For Linux 00021 and Solaris, export everything, and for AIX, create an export 00022 definition file. You will need to add the constants for Unix 00023 operating systems to your makefile. 00024 */ 00025 #if defined (_WINDOWS) || defined (HPUX_ACC) 00026 #define SAMPLIB __declspec(dllexport) 00027 #elif defined(__APPLE__) 00028 #define SAMPLIB 00029 #elif defined (LINUX) || defined (SOLARIS) || defined (AIX_VACPP6) 00030 #define DLL_EXPORT 00031 /* fine, just create the exports file for AIX 00032 you will have to link your app with dl.so 00033 so you can resolve dlopen, dlclose and dlsym. 00034 */ 00035 #else 00036 #error Unsupported compiler 00037 #endif 00038 00039 00040
|
![]() |
|