2 stuff we need to import everywhere
\r
3 This file is part of a program that implements a Software-Defined Radio.
\r
5 Copyright (C) 2004 by Frank Brickle, AB2KT and Bob McGwier, N4HY
\r
7 This program is free software; you can redistribute it and/or modify
\r
8 it under the terms of the GNU General Public License as published by
\r
9 the Free Software Foundation; either version 2 of the License, or
\r
10 (at your option) any later version.
\r
12 This program is distributed in the hope that it will be useful,
\r
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
15 GNU General Public License for more details.
\r
17 You should have received a copy of the GNU General Public License
\r
18 along with this program; if not, write to the Free Software
\r
19 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
\r
21 The authors can be reached by email at
\r
25 rwmcgwier@comcast.net
\r
29 The DTTS Microwave Society
\r
31 Bridgewater, NJ 08807
\r
38 #include <sys/types.h>
\r
39 #include <sys/param.h>
\r
40 #include <sys/stat.h>
\r
41 #include <sys/time.h>
\r
42 #include <sys/wait.h>
\r
43 #include <sys/mman.h>
\r
44 #include <sys/ioctl.h>
\r
45 #include <sys/socket.h>
\r
60 #include <pthread.h>
\r
61 #include <semaphore.h>
\r
63 #include <jack/jack.h>
\r
64 #include <jack/ringbuffer.h>
\r
69 #include <sys/types.h>
\r
70 //#include <sys/param.h> // WINBLOWS
\r
71 #define MAXPATHLEN (260-1 /* NULL */)
\r
72 #include <sys/stat.h>
\r
74 //#include <unistd.h>
\r
78 #include <windows.h>
\r
84 #define M_PI 3.14159265358928
\r
87 #define DttSP_EXP __declspec(dllexport)
\r
88 #define DttSP_IMP __declspec(dllimport)
\r
90 #define sem_wait(p) WaitForSingleObject(p,INFINITE)
\r
91 #define sem_post(p) ReleaseSemaphore(p,1,NULL);
\r
92 #define pthread_exit(p) ExitThread((DWORD)p)
\r
95 #endif // _fromsys_h
\r