- the SB16 plugin dll needs the link option -lwinmm
- BX_PLUGGABLE must be defined in soundwin.cc
This commit is contained in:
parent
2b1982bb3a
commit
26c9b55bc2
@ -143,7 +143,7 @@ bx_pit.dll: pit.o pit82c54.o pit_wrap.o
|
||||
$(CXX) $(CXXFLAGS) -shared -o bx_pit.dll pit.o pit82c54.o pit_wrap.o $(WIN32_DLL_IMPORT_LIBRARY)
|
||||
|
||||
bx_sb16.dll: sb16.o $(SOUNDLOW_OBJS)
|
||||
$(CXX) $(CXXFLAGS) -shared -o bx_sb16.dll sb16.o $(SOUNDLOW_OBJS) $(WIN32_DLL_IMPORT_LIBRARY)
|
||||
$(CXX) $(CXXFLAGS) -shared -o bx_sb16.dll sb16.o $(SOUNDLOW_OBJS) $(WIN32_DLL_IMPORT_LIBRARY) -lwinmm
|
||||
##### end DLL section
|
||||
|
||||
clean:
|
||||
|
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: soundwin.cc,v 1.10 2002-11-15 18:29:19 bdenney Exp $
|
||||
// $Id: soundwin.cc,v 1.11 2002-11-16 10:29:57 vruppert Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2001 MandrakeSoft S.A.
|
||||
@ -28,6 +28,11 @@
|
||||
|
||||
#if defined(WIN32)
|
||||
|
||||
// Define BX_PLUGGABLE in files that can be compiled into plugins. For
|
||||
// platforms that require a special tag on exported symbols, BX_PLUGGABLE
|
||||
// is used to know when we are exporting symbols and when we are importing.
|
||||
#define BX_PLUGGABLE
|
||||
|
||||
#include "bochs.h"
|
||||
#define LOG_THIS bx_devices.pluginSB16Device->
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user