mirror of https://github.com/odrling/Aegisub
Made Ruby automatically include the libraries it needs, and stdwx.h declare WIN32_LEAN_AND_MEAN (which also required a new header inclusion on audio_player_dsoun.h)
Originally committed to SVN as r929.
This commit is contained in:
parent
507de4c4cd
commit
dc803725bf
|
@ -42,6 +42,7 @@
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
#if USE_DIRECTSOUND == 1
|
#if USE_DIRECTSOUND == 1
|
||||||
#include "audio_player.h"
|
#include "audio_player.h"
|
||||||
|
#include <mmsystem.h>
|
||||||
#include <dsound.h>
|
#include <dsound.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -53,6 +53,15 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
|
|
||||||
|
///////////////////
|
||||||
|
// Include library
|
||||||
|
#if __VISUALC__ >= 1200
|
||||||
|
#pragma comment(lib,"ws2_32.lib")
|
||||||
|
#pragma comment(lib,"msvcr80-ruby19-static.lib")
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
namespace Automation4 {
|
namespace Automation4 {
|
||||||
|
|
||||||
RubyObjects *RubyObjects::inst = NULL;
|
RubyObjects *RubyObjects::inst = NULL;
|
||||||
|
|
|
@ -53,6 +53,7 @@
|
||||||
/////////
|
/////////
|
||||||
// Setup
|
// Setup
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
#define WIN32_LEAN_AND_MEAN
|
||||||
|
|
||||||
|
|
||||||
/////////////////////
|
/////////////////////
|
||||||
|
@ -94,7 +95,7 @@
|
||||||
///////////////
|
///////////////
|
||||||
// DirectSound
|
// DirectSound
|
||||||
#if USE_DIRECTSOUND == 1
|
#if USE_DIRECTSOUND == 1
|
||||||
#include <dsound.h>
|
//#include <dsound.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue