aboutsummaryrefslogtreecommitdiff
path: root/src/zexy.h
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-06-09 12:17:03 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-06-09 12:17:03 +0000
commit036e1f6c55ca27059c9ece1a3e29e80523cb6a40 (patch)
treeccb7938f8ffd5da355709b3420923c901f551906 /src/zexy.h
parente3c64e6123d6e9af2946fe1ddeb344fb9855fbd7 (diff)
replaced MACOSX by __APPLE__
replaced NT by __WIN32__ (defined by mingw, but NOT by msvc) svn path=/trunk/externals/zexy/; revision=3139
Diffstat (limited to 'src/zexy.h')
-rw-r--r--src/zexy.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/zexy.h b/src/zexy.h
index cbfe00a..cb651e9 100644
--- a/src/zexy.h
+++ b/src/zexy.h
@@ -30,26 +30,33 @@
#ifndef INCLUDE_ZEXY_H__
#define INCLUDE_ZEXY_H__
+#ifdef __WIN32__
+# define NT
+# define MSW
+#endif
+
#include "m_pd.h"
#define VERSION "2.0"
-#ifdef NT
+
+#ifdef __WIN32__
+# pragma warning( disable : 4018 )
# pragma warning( disable : 4244 )
# pragma warning( disable : 4305 )
# define HEARTSYMBOL 3
-# define sqrtf sqrt
-# define fabsf fabs
# define STATIC_INLINE
+//# define sqrtf sqrt
+//# define fabsf fabs
#else
# define HEARTSYMBOL 169
+# define STATIC_INLINE static
#endif
-#ifdef MACOSX
+#ifdef __APPLE__
# define sqrtf sqrt
#endif
-
typedef struct _mypdlist
{
t_object x_obj;