00001 /* @(#)root/base:$Id: DllImport.h 22729 2008-03-19 10:20:10Z pcanal $ */ 00002 00003 /************************************************************************* 00004 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * 00005 * All rights reserved. * 00006 * * 00007 * For the licensing terms see $ROOTSYS/LICENSE. * 00008 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00009 *************************************************************************/ 00010 00011 /* 00012 This include file defines the DllImport macro 00013 to build DLLs under Windows OS. 00014 00015 They are defined as dummy for UNIX's 00016 */ 00017 00018 #ifndef ROOT_DllImport 00019 #define ROOT_DllImport 00020 00021 #ifndef __CINT__ 00022 # if defined(WIN32) 00023 # define R__DllImport __declspec( dllimport ) 00024 # else 00025 # define R__DllImport 00026 # endif 00027 # define R__EXTERN R__DllImport extern 00028 #else 00029 # define R__EXTERN extern 00030 #endif 00031 00032 00033 #endif