summaryrefslogtreecommitdiffstats
path: root/gst/modplug/libmodplug/load_it.cpp
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2006-03-22 17:13:32 +0000
committerTim-Philipp Müller <tim@centricular.net>2006-03-22 17:13:32 +0000
commita79a53fc899a3c7e6baa06f9cb9d09c5bac064d3 (patch)
tree43d973d8ce5c3b7fc34cb81106b86dbbc3dd657d /gst/modplug/libmodplug/load_it.cpp
parent2d0ec410ae954435e84a95c6ecc0c753fa10d8a7 (diff)
downloadgst-plugins-bad-a79a53fc899a3c7e6baa06f9cb9d09c5bac064d3.tar.gz
gst-plugins-bad-a79a53fc899a3c7e6baa06f9cb9d09c5bac064d3.tar.bz2
gst-plugins-bad-a79a53fc899a3c7e6baa06f9cb9d09c5bac064d3.zip
gst/modplug/libmodplug/: Try that again (not only should it be MODPLUG_ instead of MODFILE, also that define is alrea...
Original commit message from CVS: * gst/modplug/libmodplug/Makefile.am: * gst/modplug/libmodplug/load_it.cpp: Try that again (not only should it be MODPLUG_ instead of MODFILE, also that define is already set in stdafx.h; what we really need is some more #ifndefs).
Diffstat (limited to 'gst/modplug/libmodplug/load_it.cpp')
-rw-r--r--gst/modplug/libmodplug/load_it.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/modplug/libmodplug/load_it.cpp b/gst/modplug/libmodplug/load_it.cpp
index 29ea0d24..d6222e92 100644
--- a/gst/modplug/libmodplug/load_it.cpp
+++ b/gst/modplug/libmodplug/load_it.cpp
@@ -1290,6 +1290,7 @@ void ITUnpack16Bit(signed char *pSample, DWORD dwLen, LPBYTE lpMemFile, DWORD dw
}
}
+#ifndef MODPLUG_NO_FILESAVE
UINT CSoundFile::SaveMixPlugins(FILE *f, BOOL bUpdate)
//----------------------------------------------------
@@ -1357,6 +1358,7 @@ UINT CSoundFile::SaveMixPlugins(FILE *f, BOOL bUpdate)
return nTotalSize;
}
+#endif /* MODPLUG_NO_FILESAVE */
UINT CSoundFile::LoadMixPlugins(const void *pData, UINT nLen)
//-----------------------------------------------------------