[AD] Patch to compile src/win/wdsound.c using dx-sdk 7.0 |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
In response to error that msvc6.0 with DX-SDK 7.0 produces: ... Compiling Allegro for MSVC, optimised. Please wait... obj/msvc/runner.exe cl @ -nologo -DALLEGRO_SRC -W1 -Gd -Ox -GB -MT -I. -I./inclu de -Foobj/msvc/alleg/wdsound.obj -c src/win/wdsound.c wdsound.c src/win/wdsound.c(336) : error C2065: 'DSBCAPS_CTRLALL' : undeclared identifier make.exe: *** [obj/msvc/alleg/wdsound.obj] Error 2 ... I have made one simple #define of DSBCAPS_CTRLALL ( Analysed its bit_value as defined in DX61SDK) the same change was incorporated into libmikmod directsound driver, so I think there is no negative effects. Sincerely, Igor Gnip.
Attachment:
ctrlall.diff
Description: Binary data
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |