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_PTLOADER
00023   #define EXPCL_PTLOADER __declspec(dllexport)
00024   #define EXPTP_PTLOADER
00025 #else
00026   #define EXPCL_PTLOADER __declspec(dllimport)
00027   #define EXPTP_PTLOADER extern
00028 #endif
00029 
00030 #else   /* !WIN32_VC */
00031 
00032 #define EXPCL_PTLOADER
00033 #define EXPTP_PTLOADER
00034 
00035 #endif  /* WIN32_VC */
00036 
00037 #endif
 All Classes Functions Variables Enumerations