Changeset 1494 for code/branches/network/src/audio/AudioPrereqs.h
- Timestamp:
- May 31, 2008, 11:24:44 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/audio/AudioPrereqs.h
- Property svn:eol-style set to native
r1414 r1494 1 1 /* 2 2 * ORXONOX - the hottest 3D action shooter ever to exist 3 * > www.orxonox.net < 4 * 3 * > www.orxonox.net < * 5 4 * 6 5 * License notice: … … 37 36 #include "util/OrxonoxPlatform.h" 38 37 39 //----------------------------------------------------------------------- 40 // Shared library settings 41 //----------------------------------------------------------------------- 42 #if (ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32) && !defined( AUDIO_STATIC_BUILD ) 43 # ifdef AUDIO_SHARED_BUILD 44 # define _AudioExport __declspec(dllexport) 45 # else 46 # if defined( __MINGW32__ ) 47 # define _AudioExport 48 # else 49 # define _AudioExport __declspec(dllimport) 50 # endif 51 # endif 52 #elif defined ( ORXONOX_GCC_VISIBILITY ) 53 # define _AudioExport __attribute__ ((visibility("default"))) 54 #else 55 # define _AudioExport 56 #endif 57 58 59 //----------------------------------------------------------------------- 60 // Forward declarations 61 //----------------------------------------------------------------------- 38 //-----------------------------------------------------------------------// Shared library settings//-----------------------------------------------------------------------#if (ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32) && !defined( AUDIO_STATIC_BUILD )# ifdef AUDIO_SHARED_BUILD# define _AudioExport __declspec(dllexport)# else# if defined( __MINGW32__ )# define _AudioExport# else# define _AudioExport __declspec(dllimport)# endif# endif#elif defined ( ORXONOX_GCC_VISIBILITY )# define _AudioExport __attribute__ ((visibility("default")))#else# define _AudioExport#endif 39 //-----------------------------------------------------------------------// Forward declarations//----------------------------------------------------------------------- 62 40 namespace audio 63 41 { … … 68 46 } 69 47 70 //----------------------------------------------------------------------- 71 // Warnings 72 //----------------------------------------------------------------------- 48 //-----------------------------------------------------------------------// Warnings//----------------------------------------------------------------------- 73 49 #if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC 74 50 75 // set to 4: conversion from 'ogg_int64_t' to 'long', possible loss of data 76 #pragma warning (4 : 4244) 77 78 #endif 79 51 // set to 4: conversion from 'ogg_int64_t' to 'long', possible loss of data#pragma warning (4 : 4244)#endif 80 52 81 53 #endif /* _AudioPrereqs_H__ */
Note: See TracChangeset
for help on using the changeset viewer.