sourcepawn/jit/x86/dll_exports.h
author Scott Ehlert <ds@alliedmods.net>
Fri Mar 28 06:21:34 2008 +0000 (2008-03-28)
branchsourcemod-1.1.0
changeset 1951 c7b4237fff50
parent 1330 ab94316bb52b
child 1947 e73a1e51833b
permissions -rw-r--r--
Changed env var used in include paths: SOURCEMM -> SORCEMM16
Removed some unneccessary build configuartations in some project files
     1 /**
     2  * vim: set ts=4 :
     3  * =============================================================================
     4  * SourcePawn JIT
     5  * Copyright (C)2004-2007 AlliedModders LLC.  All rights reserved.
     6  * =============================================================================
     7  *
     8  * This file is not open source and may not be copied without explicit wriiten
     9  * permission of AlliedModders LLC.  This file may not be redistributed in whole
    10  * or significant part.
    11  * For information, see LICENSE.txt or http://www.sourcemod.net/license.php
    12  *
    13  * Version: $Id$
    14  */
    15 
    16 #ifndef _INCLUDE_SOURCEPAWN_JIT_X86_DLL_H_
    17 #define _INCLUDE_SOURCEPAWN_JIT_X86_DLL_H_
    18 
    19 #include <sp_vm_base.h>
    20 
    21 #if defined WIN32
    22 #define EXPORTFUNC	extern "C" __declspec(dllexport)
    23 #elif defined __GNUC__
    24 #if __GNUC__ >= 3
    25 #define EXPORTFUNC extern "C" __attribute__((visibility("default")))
    26 #else
    27 #define EXPORTFUNC extern "C"
    28 #endif //__GNUC__ >= 3
    29 #endif //defined __GNUC__
    30 
    31 #endif //_INCLUDE_SOURCEPAWN_JIT_X86_DLL_H_