summaryrefslogtreecommitdiff
path: root/src/qcommon/q_platform.h
diff options
context:
space:
mode:
authorThilo Schulz <arny@ats.s.bawue.de>2011-08-05 12:11:27 +0000
committerTim Angus <tim@ngus.net>2013-01-10 23:26:56 +0000
commit03c2dab55aeba17d69189a7e2e02d66cc9dd587e (patch)
treee122250c0d66b1e8219f95bd74a99770ec580838 /src/qcommon/q_platform.h
parent97170a8ffba23c55ec7e83f203d5a2365a2351d8 (diff)
Fix compilation on non-x86 platforms, by Simon McVittie
Diffstat (limited to 'src/qcommon/q_platform.h')
-rw-r--r--src/qcommon/q_platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qcommon/q_platform.h b/src/qcommon/q_platform.h
index efadb79b..ea74278b 100644
--- a/src/qcommon/q_platform.h
+++ b/src/qcommon/q_platform.h
@@ -349,6 +349,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
//endianness
+void CopyShortSwap (void *dest, void *src);
+void CopyLongSwap (void *dest, void *src);
short ShortSwap (short l);
int LongSwap (int l);
float FloatSwap (const float *f);