Panda3D

pandatoolsymbols.h

00001 /* Filename: pandatoolsymbols.h
00002  * Created by:  drose (26Apr01)
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 PANDATOOLSYMBOLS_H
00016 #define PANDATOOLSYMBOLS_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_ASSIMP
00023   #define EXPCL_ASSIMP __declspec(dllexport)
00024   #define EXPTP_ASSIMP
00025 #else
00026   #define EXPCL_ASSIMP __declspec(dllimport)
00027   #define EXPTP_ASSIMP extern
00028 #endif
00029 
00030 #ifdef BUILDING_PTLOADER
00031   #define EXPCL_PTLOADER __declspec(dllexport)
00032   #define EXPTP_PTLOADER
00033 #else
00034   #define EXPCL_PTLOADER __declspec(dllimport)
00035   #define EXPTP_PTLOADER extern
00036 #endif
00037 
00038 #else   /* !WIN32_VC */
00039 
00040 #define EXPCL_ASSIMP
00041 #define EXPTP_ASSIMP
00042 
00043 #define EXPCL_PTLOADER
00044 #define EXPTP_PTLOADER
00045 
00046 #endif  /* WIN32_VC */
00047 
00048 #endif
 All Classes Functions Variables Enumerations