Panda3D
|
00001 /* Filename: directsymbols.h 00002 * Created by: drose (18Feb00) 00003 * 00004 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 00005 * 00006 * PANDA 3D SOFTWARE 00007 * Copyright (c) Carnegie Mellon University. All rights reserved. 00008 * 00009 * All use of this software is subject to the terms of the revised BSD 00010 * license. You should have received a copy of this license along 00011 * with this source code in a file named "LICENSE." 00012 * 00013 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 00014 00015 #ifndef DIRECTSYMBOLS_H 00016 #define DIRECTSYMBOLS_H 00017 00018 /* See dtoolsymbols.h for a rant on the purpose of this file. */ 00019 00020 #if defined(WIN32_VC) && !defined(CPPPARSER) && !defined(LINK_ALL_STATIC) 00021 00022 #ifdef BUILDING_DIRECT 00023 #define EXPCL_DIRECT __declspec(dllexport) 00024 #define EXPTP_DIRECT 00025 #else 00026 #define EXPCL_DIRECT __declspec(dllimport) 00027 #define EXPTP_DIRECT extern 00028 #endif 00029 00030 #else /* !WIN32_VC */ 00031 00032 #define EXPCL_DIRECT 00033 #define EXPTP_DIRECT 00034 00035 #endif /* WIN32_VC */ 00036 00037 #endif