#pragma comment is win32 only
This commit is contained in:
@@ -6,6 +6,8 @@
|
|||||||
* something wrong with my SDL_sound MAD wrapper ...
|
* something wrong with my SDL_sound MAD wrapper ...
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
#pragma comment(lib, "SDL_sound-1.0.0/lib/sdl_sound_static_d.lib")
|
#pragma comment(lib, "SDL_sound-1.0.0/lib/sdl_sound_static_d.lib")
|
||||||
#else
|
#else
|
||||||
@@ -16,6 +18,8 @@
|
|||||||
#pragma comment(lib, "SDL_sound-1.0.0/lib/vorbis_static.lib")
|
#pragma comment(lib, "SDL_sound-1.0.0/lib/vorbis_static.lib")
|
||||||
#pragma comment(lib, "SDL_sound-1.0.0/lib/vorbisfile_static.lib")
|
#pragma comment(lib, "SDL_sound-1.0.0/lib/vorbisfile_static.lib")
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "RageSoundReader_SDL_Sound.h"
|
#include "RageSoundReader_SDL_Sound.h"
|
||||||
|
|
||||||
const int channels = 2;
|
const int channels = 2;
|
||||||
|
|||||||
@@ -53,14 +53,16 @@
|
|||||||
ArchHooks *HOOKS = NULL;
|
ArchHooks *HOOKS = NULL;
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
#pragma comment(lib, "SDL-1.2.5/lib/SDLmaind.lib")
|
#pragma comment(lib, "SDL-1.2.5/lib/SDLmaind.lib")
|
||||||
#else
|
#else
|
||||||
#pragma comment(lib, "SDL-1.2.5/lib/SDLmain.lib")
|
#pragma comment(lib, "SDL-1.2.5/lib/SDLmain.lib")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WIN32
|
|
||||||
HWND g_hWndMain = NULL;
|
HWND g_hWndMain = NULL;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static bool g_bHasFocus = true;
|
static bool g_bHasFocus = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user