- Main Page
- Classes
- Files

- Search for |

# Config.h

    00001
    00002 #ifndef __HNU_H__
    00003 #define __HNU_H__
    00004
    00005 // The following ifdef block is the standard way of creating macros
    00006 // which make exporting from a DLL simpler. All files within this DLL
    00007 // are compiled with the RBP_EXPORTS symbol defined on the command
    00008 // line. this symbol should not be defined on any project that uses
    00009 // this DLL. This way any other project whose source files include
    00010 // this file see RBP_API functions as being imported from a DLL,
    00011 // whereas this DLL sees symbols defined with this macro as being
    00012 // exported.
    00013 #ifdef WIN32
    00014 #include <windows.h>
    00015
    00016 #ifdef H3DNetworkingUtils_EXPORTS
    00017 #define H3D_NETWORKING_UTILS_DLL_SPEC __declspec(dllexport)
    00018 #else
    00019 #define H3D_NETWORKING_UTILS_DLL_SPEC __declspec(dllimport)
    00020 #endif
    00021 #ifdef _MSC_VER
    00022 // disable dll-interface warnings for stl-exports
    00023 #pragma warning( disable: 4251 )
    00024 #endif
    00025
    00026
    00027 #endif
    00028
    00029 #if defined(__APPLE__) && defined(__MACH__)
    00030 #define H3D_NETWORKING_UTILS_DLL_SPEC
    00031 #endif
    00032
    00033 #if defined(__linux)
    00034 #define H3D_NETWORKING_UTILS_DLL_SPEC
    00035 #endif
    00036
    00037
    00038 #define H3D_NETWORKING_UTILS_MAJOR_VERSION 1
    00039 #define H3D_NETWORKING_UTILS_MINOR_VERSION 1
    00040 #define H3D_NETWORKING_UTILS_BUILD_VERSION 1
    00041
    00042 // Apparently needed to get everything linking
    00043 #define WXUSINGDLL 1
    00044
    00045 #endif
    00046