|
From: <man...@us...> - 2013-09-07 13:24:12
|
Revision: 2650
http://sourceforge.net/p/modplug/code/2650
Author: manxorist
Date: 2013-09-07 13:24:00 +0000 (Sat, 07 Sep 2013)
Log Message:
-----------
[Ref] WavWriter should be #ifndef MODPLUG_NO_FILESAVE .
Modified Paths:
--------------
trunk/OpenMPT/soundlib/WAVTools.cpp
trunk/OpenMPT/soundlib/WAVTools.h
Modified: trunk/OpenMPT/soundlib/WAVTools.cpp
===================================================================
--- trunk/OpenMPT/soundlib/WAVTools.cpp 2013-09-06 21:44:06 UTC (rev 2649)
+++ trunk/OpenMPT/soundlib/WAVTools.cpp 2013-09-07 13:24:00 UTC (rev 2650)
@@ -245,6 +245,8 @@
}
+#ifndef MODPLUG_NO_FILESAVE
+
///////////////////////////////////////////////////////////
// WAV Writing
@@ -550,3 +552,5 @@
WriteArray(filename);
}
}
+
+#endif // MODPLUG_NO_FILESAVE
Modified: trunk/OpenMPT/soundlib/WAVTools.h
===================================================================
--- trunk/OpenMPT/soundlib/WAVTools.h 2013-09-06 21:44:06 UTC (rev 2649)
+++ trunk/OpenMPT/soundlib/WAVTools.h 2013-09-07 13:24:00 UTC (rev 2650)
@@ -366,6 +366,8 @@
};
+#ifndef MODPLUG_NO_FILESAVE
+
//=============
class WAVWriter
//=============
@@ -462,3 +464,5 @@
// Write some data to the file.
void Write(const void *data, size_t numBytes);
};
+
+#endif // MODPLUG_NO_FILESAVE
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|