diff options
author | Martin Peach <mrpeach@users.sourceforge.net> | 2010-01-02 20:08:08 +0000 |
---|---|---|
committer | Martin Peach <mrpeach@users.sourceforge.net> | 2010-01-02 20:08:08 +0000 |
commit | 600f46fe4086dfb70b5f3e51d5c5c0fb650a4a2c (patch) | |
tree | 0b8fa94547760fafabdf986745ccb6e4fee23c7d | |
parent | 952d59a23d50eccac0fd3bf332e1802905efcd33 (diff) |
Changed MSW to _WIN32
svn path=/trunk/externals/mrpeach/; revision=12868
-rw-r--r-- | osc/unpackOSC.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/osc/unpackOSC.c b/osc/unpackOSC.c index 99504b7..9e70b12 100644 --- a/osc/unpackOSC.c +++ b/osc/unpackOSC.c @@ -627,7 +627,7 @@ static t_float unpackOSC_DeltaTime(OSCTimeTag tt) { OSCTimeTag ttnow; double ttusec, nowusec, delta; -#ifdef MSW +#ifdef _WIN32 struct _timeb tb; _ftime(&tb); /* find now */ @@ -646,7 +646,7 @@ static t_float unpackOSC_DeltaTime(OSCTimeTag tt) /* find usec in tt */ ttusec = tt.seconds*onemillion + ONE_MILLION_OVER_TWO_TO_THE_32*tt.fraction; nowusec = ttnow.seconds*onemillion + tv.tv_usec; -#endif /* ifdef MSW */ +#endif /* ifdef _WIN32 */ /* subtract now from tt to get delta time */ /* if (ttusec < nowusec) return 0.0; */ /*negative delays are all right */ |