aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/stddefines.h
diff options
context:
space:
mode:
authorEugene Sandulenko2014-12-28 00:09:24 +0100
committerEugene Sandulenko2015-12-15 00:05:02 +0100
commitfdb4f3edf8882f8c9907aae990c3d376e68cea18 (patch)
tree0190178caeb215079cd4fdfbdf961380d573cace /engines/lab/stddefines.h
parentc62479949805780d4545876a0785d68ea4c747ba (diff)
downloadscummvm-rg350-fdb4f3edf8882f8c9907aae990c3d376e68cea18.tar.gz
scummvm-rg350-fdb4f3edf8882f8c9907aae990c3d376e68cea18.tar.bz2
scummvm-rg350-fdb4f3edf8882f8c9907aae990c3d376e68cea18.zip
LAB: Cleanup
Diffstat (limited to 'engines/lab/stddefines.h')
-rw-r--r--engines/lab/stddefines.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/engines/lab/stddefines.h b/engines/lab/stddefines.h
index a9d685bbdb..3729084618 100644
--- a/engines/lab/stddefines.h
+++ b/engines/lab/stddefines.h
@@ -45,7 +45,6 @@ namespace Lab {
#define delay Lab_Delay
#endif
-#if !defined(DOSCODE)
#if defined(USE_NOSWAP)
#define swapUShort(value) (value)
#define swapUShortPtr(ptr,count) (ptr)
@@ -59,7 +58,7 @@ namespace Lab {
#define swapULongPtr(ptr,count) (ptr)
#define swapLong(value) (value)
#define swapLongPtr(ptr,count) (ptr)
-#elif defined(USE_SWAP)
+#else
uint16 swapUShort(uint16 value);
uint16 *swapUShortPtr(uint16 *ptr, int count);
int16 swapShort(int16 value);
@@ -72,10 +71,6 @@ uint32 swapULong(uint32 value);
uint32 *swapULongPtr(uint32 *ptr, int count);
int32 swapLong(int32 value);
int32 *swapLongPtr(int32 *ptr, int count);
-#else
-#error Please tell me about swapping bytes!
-#endif
-
#endif
} // End of namespace Lab