#pragma comment is win32 only

This commit is contained in:
Glenn Maynard
2003-06-30 04:53:45 +00:00
parent 1fa94d40db
commit 7c46a3aa61
2 changed files with 7 additions and 1 deletions
@@ -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;
+3 -1
View File
@@ -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;