sourcepawn/jit/x86/dll_exports.h
author Scott Ehlert <ds@alliedmods.net>
Thu Mar 27 04:54:56 2008 +0000 (2008-03-27)
changeset 1947 e73a1e51833b
parent 1330 ab94316bb52b
permissions -rw-r--r--
Updated copyright year
     1 /**
     2  * vim: set ts=4 :
     3  * =============================================================================
     4  * SourcePawn JIT
     5  * Copyright (C)2004-2008 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_