summaryrefslogtreecommitdiffstats
path: root/project.h
diff options
context:
space:
mode:
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)