aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-04-11 16:24:09 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-04-11 16:24:09 +0000
commitb29fabf6718d1ab1f9501221055eddcc35d98b8b (patch)
tree788e814f7570b89a12b4c8297d67ad9b347fd2f9
parentc7dd0caac8234e893d6794b1b53f0c1311e0c177 (diff)
stopped pragma warnings on MinGW; the pragmas are just meant for MSVC
svn path=/trunk/externals/iemlib/; revision=4879
-rw-r--r--src/iem_mp3/iem_mp3.c2
-rw-r--r--src/iem_mp3/sigmp3play.c4
-rw-r--r--src/iem_t3_lib/iem_t3_lib.c6
-rw-r--r--src/iem_t3_lib/sigt3_line.c2
-rw-r--r--src/iem_t3_lib/sigt3_sig.c2
-rw-r--r--src/iem_t3_lib/t3_bpe.c2
-rw-r--r--src/iem_t3_lib/t3_delay.c2
-rw-r--r--src/iem_t3_lib/t3_metro.c2
-rw-r--r--src/iem_t3_lib/t3_timer.c2
-rw-r--r--src/iemlib1/biquad_freq_resp.c2
-rw-r--r--src/iemlib1/db2v.c2
-rw-r--r--src/iemlib1/f2note.c2
-rw-r--r--src/iemlib1/forpp.c2
-rw-r--r--src/iemlib1/gate.c2
-rw-r--r--src/iemlib1/iemlib1.c2
-rw-r--r--src/iemlib1/sigFIR.c2
-rw-r--r--src/iemlib1/sigfilter.c2
-rw-r--r--src/iemlib1/sighml_shelf.c2
-rw-r--r--src/iemlib1/sigiem_cot4.c2
-rw-r--r--src/iemlib1/sigiem_delay.c2
-rw-r--r--src/iemlib1/sigiem_pow4.c2
-rw-r--r--src/iemlib1/sigiem_sqrt4.c2
-rw-r--r--src/iemlib1/siglp1_t.c2
-rw-r--r--src/iemlib1/sigmov_avrg_kern.c2
-rw-r--r--src/iemlib1/sigpara_bp2.c2
-rw-r--r--src/iemlib1/sigpeakenv.c2
-rw-r--r--src/iemlib1/sigprvu.c2
-rw-r--r--src/iemlib1/sigpvu.c2
-rw-r--r--src/iemlib1/sigrvu.c2
-rw-r--r--src/iemlib1/sigsin_phase.c2
-rw-r--r--src/iemlib1/sigvcf_filter.c2
-rw-r--r--src/iemlib1/soundfile_info.c2
-rw-r--r--src/iemlib1/split.c2
-rw-r--r--src/iemlib1/v2db.c2
-rw-r--r--src/iemlib2/iem_anything.c2
-rw-r--r--src/iemlib2/iem_anything_kernel.c2
-rw-r--r--src/iemlib2/iem_append.c2
-rw-r--r--src/iemlib2/iem_append_kernel.c2
-rw-r--r--src/iemlib2/iem_i_route.c2
-rw-r--r--src/iemlib2/iem_pbank_csv.c2
-rw-r--r--src/iemlib2/iem_prepend.c2
-rw-r--r--src/iemlib2/iem_prepend_kernel.c2
-rw-r--r--src/iemlib2/iem_receive.c2
-rw-r--r--src/iemlib2/iem_receive_kernel.c2
-rw-r--r--src/iemlib2/iem_route.c2
-rw-r--r--src/iemlib2/iem_sel_any.c2
-rw-r--r--src/iemlib2/iem_send.c2
-rw-r--r--src/iemlib2/iem_send_kernel.c2
-rw-r--r--src/iemlib2/iemlib2.c6
-rw-r--r--src/iemlib2/init.c2
-rw-r--r--src/iemlib2/list2send.c2
-rw-r--r--src/iemlib2/mergefilename.c2
-rw-r--r--src/iemlib2/modulo_counter.c2
-rw-r--r--src/iemlib2/parentdollarzero.c2
-rw-r--r--src/iemlib2/post_netreceive.c2
-rw-r--r--src/iemlib2/pre_inlet.c2
-rw-r--r--src/iemlib2/prepend_ascii.c2
-rw-r--r--src/iemlib2/prepend_kernel.c2
-rw-r--r--src/iemlib2/protect_against_open.c4
-rw-r--r--src/iemlib2/receive2list.c2
-rw-r--r--src/iemlib2/round_zero.c2
-rw-r--r--src/iemlib2/sigLFO_noise.c2
-rw-r--r--src/iemlib2/sigfade.c2
-rw-r--r--src/iemlib2/sigiem_blocksize.c2
-rw-r--r--src/iemlib2/sigiem_samplerate.c2
-rw-r--r--src/iemlib2/sigm2f.c2
-rw-r--r--src/iemlib2/speedlim.c2
-rw-r--r--src/iemlib2/splitfilename.c2
-rw-r--r--src/iemlib2/stripfilename.c2
-rw-r--r--src/iemlib2/toggle_mess.c2
-rw-r--r--src/iemlib2/transf_fader.c2
-rw-r--r--src/iemlib2/unsymbol.c2
-rw-r--r--src/iemlib2/wrap.c2
73 files changed, 79 insertions, 79 deletions
diff --git a/src/iem_mp3/iem_mp3.c b/src/iem_mp3/iem_mp3.c
index ab1356a..20c7cc1 100644
--- a/src/iem_mp3/iem_mp3.c
+++ b/src/iem_mp3/iem_mp3.c
@@ -3,7 +3,7 @@
iem_mp3 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iem_mp3/sigmp3play.c b/src/iem_mp3/sigmp3play.c
index 81927a4..a79068c 100644
--- a/src/iem_mp3/sigmp3play.c
+++ b/src/iem_mp3/sigmp3play.c
@@ -18,7 +18,7 @@ iem_mp3 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005
*/
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
@@ -35,7 +35,7 @@ iem_mp3 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005
#include <fcntl.h>
#include <math.h>
-#ifndef NT
+#ifndef _MSC_VER
#include <sys/signal.h>
#include <unistd.h>
#endif
diff --git a/src/iem_t3_lib/iem_t3_lib.c b/src/iem_t3_lib/iem_t3_lib.c
index 91b3725..617b202 100644
--- a/src/iem_t3_lib/iem_t3_lib.c
+++ b/src/iem_t3_lib/iem_t3_lib.c
@@ -3,7 +3,7 @@
iem_t3_lib written by Gerhard Eckel, Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
@@ -21,12 +21,12 @@ iem_t3_lib written by Gerhard Eckel, Thomas Musil, Copyright (c) IEM KUG Graz Au
#include <sys/stat.h>
#include <fcntl.h>
-#ifndef NT
+#ifndef _WIN32
#include <sys/signal.h>
#include <unistd.h>
#endif
-#ifdef NT
+#ifdef _WIN32
#include <io.h>
#endif
*/
diff --git a/src/iem_t3_lib/sigt3_line.c b/src/iem_t3_lib/sigt3_line.c
index 3666098..108fde2 100644
--- a/src/iem_t3_lib/sigt3_line.c
+++ b/src/iem_t3_lib/sigt3_line.c
@@ -3,7 +3,7 @@
iem_t3_lib written by Gerhard Eckel, Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iem_t3_lib/sigt3_sig.c b/src/iem_t3_lib/sigt3_sig.c
index 27dc01d..59ddbdb 100644
--- a/src/iem_t3_lib/sigt3_sig.c
+++ b/src/iem_t3_lib/sigt3_sig.c
@@ -3,7 +3,7 @@
iem_t3_lib written by Gerhard Eckel, Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iem_t3_lib/t3_bpe.c b/src/iem_t3_lib/t3_bpe.c
index 2aa7846..eb72d3c 100644
--- a/src/iem_t3_lib/t3_bpe.c
+++ b/src/iem_t3_lib/t3_bpe.c
@@ -3,7 +3,7 @@
iem_t3_lib written by Gerhard Eckel, Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iem_t3_lib/t3_delay.c b/src/iem_t3_lib/t3_delay.c
index 0298832..fc43fb6 100644
--- a/src/iem_t3_lib/t3_delay.c
+++ b/src/iem_t3_lib/t3_delay.c
@@ -3,7 +3,7 @@
iem_t3_lib written by Gerhard Eckel, Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iem_t3_lib/t3_metro.c b/src/iem_t3_lib/t3_metro.c
index d71c54a..5438554 100644
--- a/src/iem_t3_lib/t3_metro.c
+++ b/src/iem_t3_lib/t3_metro.c
@@ -3,7 +3,7 @@
iem_t3_lib written by Gerhard Eckel, Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iem_t3_lib/t3_timer.c b/src/iem_t3_lib/t3_timer.c
index 5f0bc3a..aa9c8b5 100644
--- a/src/iem_t3_lib/t3_timer.c
+++ b/src/iem_t3_lib/t3_timer.c
@@ -3,7 +3,7 @@
iem_t3_lib written by Gerhard Eckel, Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib1/biquad_freq_resp.c b/src/iemlib1/biquad_freq_resp.c
index f572cd7..f0c949c 100644
--- a/src/iemlib1/biquad_freq_resp.c
+++ b/src/iemlib1/biquad_freq_resp.c
@@ -3,7 +3,7 @@
iemlib1 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib1/db2v.c b/src/iemlib1/db2v.c
index cf4b17b..e8b1db4 100644
--- a/src/iemlib1/db2v.c
+++ b/src/iemlib1/db2v.c
@@ -3,7 +3,7 @@
iemlib1 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib1/f2note.c b/src/iemlib1/f2note.c
index 1b2d9a8..196fa6c 100644
--- a/src/iemlib1/f2note.c
+++ b/src/iemlib1/f2note.c
@@ -3,7 +3,7 @@
iemlib1 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib1/forpp.c b/src/iemlib1/forpp.c
index 19df836..b1ddc9a 100644
--- a/src/iemlib1/forpp.c
+++ b/src/iemlib1/forpp.c
@@ -3,7 +3,7 @@
iemlib1 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib1/gate.c b/src/iemlib1/gate.c
index 17af5a9..f0f85be 100644
--- a/src/iemlib1/gate.c
+++ b/src/iemlib1/gate.c
@@ -3,7 +3,7 @@
iemlib1 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2004 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib1/iemlib1.c b/src/iemlib1/iemlib1.c
index c5b2260..c2b4efb 100644
--- a/src/iemlib1/iemlib1.c
+++ b/src/iemlib1/iemlib1.c
@@ -3,7 +3,7 @@
iemlib1 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib1/sigFIR.c b/src/iemlib1/sigFIR.c
index 797916f..5827ab1 100644
--- a/src/iemlib1/sigFIR.c
+++ b/src/iemlib1/sigFIR.c
@@ -3,7 +3,7 @@
iemlib1 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib1/sigfilter.c b/src/iemlib1/sigfilter.c
index 26b6fc9..68df058 100644
--- a/src/iemlib1/sigfilter.c
+++ b/src/iemlib1/sigfilter.c
@@ -3,7 +3,7 @@
iemlib1 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib1/sighml_shelf.c b/src/iemlib1/sighml_shelf.c
index 22d182c..0ce9b35 100644
--- a/src/iemlib1/sighml_shelf.c
+++ b/src/iemlib1/sighml_shelf.c
@@ -3,7 +3,7 @@
iemlib1 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib1/sigiem_cot4.c b/src/iemlib1/sigiem_cot4.c
index 632b405..85bc19a 100644
--- a/src/iemlib1/sigiem_cot4.c
+++ b/src/iemlib1/sigiem_cot4.c
@@ -3,7 +3,7 @@
iemlib1 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib1/sigiem_delay.c b/src/iemlib1/sigiem_delay.c
index 7361799..9812a11 100644
--- a/src/iemlib1/sigiem_delay.c
+++ b/src/iemlib1/sigiem_delay.c
@@ -3,7 +3,7 @@
iemlib1 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib1/sigiem_pow4.c b/src/iemlib1/sigiem_pow4.c
index 482b16b..130e7e3 100644
--- a/src/iemlib1/sigiem_pow4.c
+++ b/src/iemlib1/sigiem_pow4.c
@@ -3,7 +3,7 @@
iemlib1 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib1/sigiem_sqrt4.c b/src/iemlib1/sigiem_sqrt4.c
index b6227ab..f7d0191 100644
--- a/src/iemlib1/sigiem_sqrt4.c
+++ b/src/iemlib1/sigiem_sqrt4.c
@@ -3,7 +3,7 @@
iemlib1 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib1/siglp1_t.c b/src/iemlib1/siglp1_t.c
index 610883d..c360b15 100644
--- a/src/iemlib1/siglp1_t.c
+++ b/src/iemlib1/siglp1_t.c
@@ -3,7 +3,7 @@
iemlib1 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib1/sigmov_avrg_kern.c b/src/iemlib1/sigmov_avrg_kern.c
index a2fbe3e..dd3e26c 100644
--- a/src/iemlib1/sigmov_avrg_kern.c
+++ b/src/iemlib1/sigmov_avrg_kern.c
@@ -3,7 +3,7 @@
iemlib1 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib1/sigpara_bp2.c b/src/iemlib1/sigpara_bp2.c
index 683949d..d14d26d 100644
--- a/src/iemlib1/sigpara_bp2.c
+++ b/src/iemlib1/sigpara_bp2.c
@@ -3,7 +3,7 @@
iemlib1 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib1/sigpeakenv.c b/src/iemlib1/sigpeakenv.c
index 5704224..95b465f 100644
--- a/src/iemlib1/sigpeakenv.c
+++ b/src/iemlib1/sigpeakenv.c
@@ -3,7 +3,7 @@
iemlib1 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib1/sigprvu.c b/src/iemlib1/sigprvu.c
index a32457e..b33d3d3 100644
--- a/src/iemlib1/sigprvu.c
+++ b/src/iemlib1/sigprvu.c
@@ -3,7 +3,7 @@
iemlib1 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib1/sigpvu.c b/src/iemlib1/sigpvu.c
index 12d779e..d1caeb4 100644
--- a/src/iemlib1/sigpvu.c
+++ b/src/iemlib1/sigpvu.c
@@ -3,7 +3,7 @@
iemlib1 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib1/sigrvu.c b/src/iemlib1/sigrvu.c
index 66c9e4a..d579a3f 100644
--- a/src/iemlib1/sigrvu.c
+++ b/src/iemlib1/sigrvu.c
@@ -3,7 +3,7 @@
iemlib1 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib1/sigsin_phase.c b/src/iemlib1/sigsin_phase.c
index 66c6d30..3f8e66e 100644
--- a/src/iemlib1/sigsin_phase.c
+++ b/src/iemlib1/sigsin_phase.c
@@ -3,7 +3,7 @@
iemlib1 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib1/sigvcf_filter.c b/src/iemlib1/sigvcf_filter.c
index 8b73f66..4283e9a 100644
--- a/src/iemlib1/sigvcf_filter.c
+++ b/src/iemlib1/sigvcf_filter.c
@@ -3,7 +3,7 @@
iemlib1 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib1/soundfile_info.c b/src/iemlib1/soundfile_info.c
index 5d4d4c0..662216c 100644
--- a/src/iemlib1/soundfile_info.c
+++ b/src/iemlib1/soundfile_info.c
@@ -3,7 +3,7 @@
iemlib1 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib1/split.c b/src/iemlib1/split.c
index 2151451..b95f93c 100644
--- a/src/iemlib1/split.c
+++ b/src/iemlib1/split.c
@@ -3,7 +3,7 @@
iemlib1 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib1/v2db.c b/src/iemlib1/v2db.c
index a482b63..e0781ea 100644
--- a/src/iemlib1/v2db.c
+++ b/src/iemlib1/v2db.c
@@ -3,7 +3,7 @@
iemlib1 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/iem_anything.c b/src/iemlib2/iem_anything.c
index 54e86d2..158760c 100644
--- a/src/iemlib2/iem_anything.c
+++ b/src/iemlib2/iem_anything.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/iem_anything_kernel.c b/src/iemlib2/iem_anything_kernel.c
index 0ea411d..d2a675b 100644
--- a/src/iemlib2/iem_anything_kernel.c
+++ b/src/iemlib2/iem_anything_kernel.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/iem_append.c b/src/iemlib2/iem_append.c
index ffb4829..9ccff3b 100644
--- a/src/iemlib2/iem_append.c
+++ b/src/iemlib2/iem_append.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/iem_append_kernel.c b/src/iemlib2/iem_append_kernel.c
index 95e918b..959a3ab 100644
--- a/src/iemlib2/iem_append_kernel.c
+++ b/src/iemlib2/iem_append_kernel.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/iem_i_route.c b/src/iemlib2/iem_i_route.c
index 16ac908..1538b51 100644
--- a/src/iemlib2/iem_i_route.c
+++ b/src/iemlib2/iem_i_route.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/iem_pbank_csv.c b/src/iemlib2/iem_pbank_csv.c
index 13b10ae..5e413c3 100644
--- a/src/iemlib2/iem_pbank_csv.c
+++ b/src/iemlib2/iem_pbank_csv.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/iem_prepend.c b/src/iemlib2/iem_prepend.c
index d49c5ae..f2810a2 100644
--- a/src/iemlib2/iem_prepend.c
+++ b/src/iemlib2/iem_prepend.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/iem_prepend_kernel.c b/src/iemlib2/iem_prepend_kernel.c
index 2af29d3..8f899d2 100644
--- a/src/iemlib2/iem_prepend_kernel.c
+++ b/src/iemlib2/iem_prepend_kernel.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2004 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/iem_receive.c b/src/iemlib2/iem_receive.c
index 1e46c20..309512b 100644
--- a/src/iemlib2/iem_receive.c
+++ b/src/iemlib2/iem_receive.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/iem_receive_kernel.c b/src/iemlib2/iem_receive_kernel.c
index d213852..bc0d642 100644
--- a/src/iemlib2/iem_receive_kernel.c
+++ b/src/iemlib2/iem_receive_kernel.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2004 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/iem_route.c b/src/iemlib2/iem_route.c
index 03ca58e..ee4e261 100644
--- a/src/iemlib2/iem_route.c
+++ b/src/iemlib2/iem_route.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/iem_sel_any.c b/src/iemlib2/iem_sel_any.c
index ef5fccb..930b33d 100644
--- a/src/iemlib2/iem_sel_any.c
+++ b/src/iemlib2/iem_sel_any.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/iem_send.c b/src/iemlib2/iem_send.c
index d09a361..16587b4 100644
--- a/src/iemlib2/iem_send.c
+++ b/src/iemlib2/iem_send.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/iem_send_kernel.c b/src/iemlib2/iem_send_kernel.c
index d40bd24..72a1a7b 100644
--- a/src/iemlib2/iem_send_kernel.c
+++ b/src/iemlib2/iem_send_kernel.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2004 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/iemlib2.c b/src/iemlib2/iemlib2.c
index 3982e95..bd5e758 100644
--- a/src/iemlib2/iemlib2.c
+++ b/src/iemlib2/iemlib2.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
@@ -21,12 +21,12 @@ iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005
#include <sys/stat.h>
#include <fcntl.h>
-#ifndef NT
+#ifndef _MSC_VER
#include <sys/signal.h>
#include <unistd.h>
#endif
-#ifdef NT
+#ifdef _MSC_VER
#include <io.h>
#endif
*/
diff --git a/src/iemlib2/init.c b/src/iemlib2/init.c
index 6dd6639..4fade88 100644
--- a/src/iemlib2/init.c
+++ b/src/iemlib2/init.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/list2send.c b/src/iemlib2/list2send.c
index b21bc5d..6539e36 100644
--- a/src/iemlib2/list2send.c
+++ b/src/iemlib2/list2send.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/mergefilename.c b/src/iemlib2/mergefilename.c
index 701b3b6..509b8e0 100644
--- a/src/iemlib2/mergefilename.c
+++ b/src/iemlib2/mergefilename.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/modulo_counter.c b/src/iemlib2/modulo_counter.c
index 600f74e..65bfb17 100644
--- a/src/iemlib2/modulo_counter.c
+++ b/src/iemlib2/modulo_counter.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/parentdollarzero.c b/src/iemlib2/parentdollarzero.c
index e680f4c..7a70a88 100644
--- a/src/iemlib2/parentdollarzero.c
+++ b/src/iemlib2/parentdollarzero.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/post_netreceive.c b/src/iemlib2/post_netreceive.c
index 35dcaf2..14b4bde 100644
--- a/src/iemlib2/post_netreceive.c
+++ b/src/iemlib2/post_netreceive.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2004 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/pre_inlet.c b/src/iemlib2/pre_inlet.c
index 4f597c5..a6269d3 100644
--- a/src/iemlib2/pre_inlet.c
+++ b/src/iemlib2/pre_inlet.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/prepend_ascii.c b/src/iemlib2/prepend_ascii.c
index 7e86cb3..773adc0 100644
--- a/src/iemlib2/prepend_ascii.c
+++ b/src/iemlib2/prepend_ascii.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/prepend_kernel.c b/src/iemlib2/prepend_kernel.c
index 8fdc7c8..a26780b 100644
--- a/src/iemlib2/prepend_kernel.c
+++ b/src/iemlib2/prepend_kernel.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2004 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/protect_against_open.c b/src/iemlib2/protect_against_open.c
index 2de0a19..dc78878 100644
--- a/src/iemlib2/protect_against_open.c
+++ b/src/iemlib2/protect_against_open.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
@@ -14,7 +14,7 @@ iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005
#include "g_all_guis.h"
#include <string.h>
-#ifdef NT
+#ifdef _MSC_VER
#include <io.h>
#else
#include <unistd.h>
diff --git a/src/iemlib2/receive2list.c b/src/iemlib2/receive2list.c
index ff75132..1849bdd 100644
--- a/src/iemlib2/receive2list.c
+++ b/src/iemlib2/receive2list.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/round_zero.c b/src/iemlib2/round_zero.c
index 3c581ff..8dee50d 100644
--- a/src/iemlib2/round_zero.c
+++ b/src/iemlib2/round_zero.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/sigLFO_noise.c b/src/iemlib2/sigLFO_noise.c
index eafe614..daf035c 100644
--- a/src/iemlib2/sigLFO_noise.c
+++ b/src/iemlib2/sigLFO_noise.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/sigfade.c b/src/iemlib2/sigfade.c
index 01af035..bb0e4b5 100644
--- a/src/iemlib2/sigfade.c
+++ b/src/iemlib2/sigfade.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/sigiem_blocksize.c b/src/iemlib2/sigiem_blocksize.c
index 280a360..eae00ed 100644
--- a/src/iemlib2/sigiem_blocksize.c
+++ b/src/iemlib2/sigiem_blocksize.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/sigiem_samplerate.c b/src/iemlib2/sigiem_samplerate.c
index 952af7f..1fe9e10 100644
--- a/src/iemlib2/sigiem_samplerate.c
+++ b/src/iemlib2/sigiem_samplerate.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/sigm2f.c b/src/iemlib2/sigm2f.c
index 0309497..f4a158c 100644
--- a/src/iemlib2/sigm2f.c
+++ b/src/iemlib2/sigm2f.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/speedlim.c b/src/iemlib2/speedlim.c
index 40ad092..9e29e0a 100644
--- a/src/iemlib2/speedlim.c
+++ b/src/iemlib2/speedlim.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/splitfilename.c b/src/iemlib2/splitfilename.c
index 5f8bf1a..7de68f4 100644
--- a/src/iemlib2/splitfilename.c
+++ b/src/iemlib2/splitfilename.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/stripfilename.c b/src/iemlib2/stripfilename.c
index 086bf1e..d6a138f 100644
--- a/src/iemlib2/stripfilename.c
+++ b/src/iemlib2/stripfilename.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/toggle_mess.c b/src/iemlib2/toggle_mess.c
index 1fc5bff..ac35100 100644
--- a/src/iemlib2/toggle_mess.c
+++ b/src/iemlib2/toggle_mess.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/transf_fader.c b/src/iemlib2/transf_fader.c
index 7f9c679..b545f62 100644
--- a/src/iemlib2/transf_fader.c
+++ b/src/iemlib2/transf_fader.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/unsymbol.c b/src/iemlib2/unsymbol.c
index 79026aa..ee5fd80 100644
--- a/src/iemlib2/unsymbol.c
+++ b/src/iemlib2/unsymbol.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/src/iemlib2/wrap.c b/src/iemlib2/wrap.c
index 9688480..6862639 100644
--- a/src/iemlib2/wrap.c
+++ b/src/iemlib2/wrap.c
@@ -3,7 +3,7 @@
iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif