//============================================================================= // drt/sys/slib2.hpp // Definitions for Win32 dynamic shared library (DLL) gibberish. // // Usage // This file should be #included by each header file, at the very end. // // See also // slib1.hpp // // History // 0.01, 1998-03-28, David R Tribble. // First cut. // // 0.02, 1998-04-24, David R Tribble. // Renamed from "scmlib2.h" to "jlib2.h". // // 0.03, 1998-05-30, David R Tribble. // Changed filename prefix from "j" to "k". // // 0.04, 1999-02-21, David R Tribble. // Moved from scm/ to drt/sys. // // 1.00, 1999-07-31, David R Tribble. // Renamed 'DRTDECL' to 'DRTEXPORT' and 'DRTCALL' to 'DRTFUNC'. // // Copyright ©1998-1999, by David R. Tribble, all rights reserved. // See "drt/copyr.txt" for more information. //----------------------------------------------------------------------------- // Note: This file needs no wrapper macro #define drt_sys_slib2_hpp 100 // Verify include order #ifndef drt_sys_sdefs_hpp #error Include "sys/sdefs.hpp" before this header #endif #ifndef drt_sys_slib1_hpp #error Missing include of "sys/slib1.hpp" #endif // Win32 DLL gibberish #if DRT_OS_WIN32 and defined(_DLL) #undef DRTFUNC #undef DRTEXPORT #define DRTEXPORT __declspec(dllimport) #endif // End slib2.hpp