fweep: make the version overridable with -D
authorAlan Cox <alan@linux.intel.com>
Sat, 20 Oct 2018 14:20:52 +0000 (15:20 +0100)
committerAlan Cox <alan@linux.intel.com>
Sat, 20 Oct 2018 14:20:52 +0000 (15:20 +0100)
Applications/games/fweep.c

index 2b78f27..0e0052d 100644 (file)
@@ -17,7 +17,9 @@
 
 #define WORD(x)                ((uint16_t)(x))
 
+#ifndef VERSION
 #define VERSION        3
+#endif
 
 #if (VERSION == 8)
 #define PACKED_SHIFT   3