summaryrefslogtreecommitdiffstats
path: root/project.h
diff options
context:
space:
mode:
authorroot <root@no.no.james.local>2019-02-26 16:49:10 +0000
committerroot <root@no.no.james.local>2019-02-26 16:49:10 +0000
commit6e75bcc7f8df65d4901b2918aafb501c6baefabe (patch)
tree6f50017e1e70c6c87ba0b7714ce930204d9d45a2 /project.h
parent24fd0e3b0d4eb97fbd730fc33c1c1d770bbe1247 (diff)
downloadgen_msf-master.tar.gz
gen_msf-master.tar.bz2
gen_msf-master.zip
windows supportishHEADmaster
Diffstat (limited to 'project.h')
-rw-r--r--project.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/project.h b/project.h
index f6ad552..3517afb 100644
--- a/project.h
+++ b/project.h
@@ -1,3 +1,5 @@
+#define MINGW
+
#include <stdio.h>
#include <stdint.h>
#include <inttypes.h>
@@ -9,6 +11,11 @@
#include <unistd.h>
#include <math.h>
+#ifdef __WINNT__
+#define bzero(a,b) memset(a,0,b)
+#endif
+
+
#define KHZ(a) ((a)*1000)
#define SAMPLE_RATE KHZ(48)
#define CARRIER KHZ(20)