misc/libphyslayer/physfscompat.h
changeset 15946 69479ac8f4c8
parent 11046 47a8c19ecb60
equal deleted inserted replaced
15945:343b8819b051 15946:69479ac8f4c8
    18 
    18 
    19 #ifndef _HEDGEWARS_PHYSFSCOMPAT_C_
    19 #ifndef _HEDGEWARS_PHYSFSCOMPAT_C_
    20 #define _HEDGEWARS_PHYSFSCOMPAT_C_
    20 #define _HEDGEWARS_PHYSFSCOMPAT_C_
    21 
    21 
    22 #include "physfs.h"
    22 #include "physfs.h"
       
    23 
       
    24 #if defined(_WIN32) 
       
    25 #define PHYSFS_DECL __declspec(dllexport)
       
    26 #endif
    23 
    27 
    24 #if PHYSFS_VER_MAJOR == 2
    28 #if PHYSFS_VER_MAJOR == 2
    25 #if PHYSFS_VER_MINOR == 0
    29 #if PHYSFS_VER_MINOR == 0
    26 
    30 
    27 #define HW_PHYSFS_COMPAT
    31 #define HW_PHYSFS_COMPAT