diff options
author | Robin Gareus <robin@gareus.org> | 2014-03-04 15:25:58 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-03-04 15:25:58 +0100 |
commit | 912f07b919c1ec44f0cdd5278d74a9bc29b91846 (patch) | |
tree | 1cd5f158ada5e8b9b73cf0d52ca5f9fa430c1fe9 /libs/plugins | |
parent | 3e250d5f0649256c8e4c7c53da4f67383dd52f78 (diff) |
mingw build fixes (tested with i686-w64-mingw32 on linux-x86_64)
Diffstat (limited to 'libs/plugins')
-rw-r--r-- | libs/plugins/reasonablesynth.lv2/lv2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/plugins/reasonablesynth.lv2/lv2.c b/libs/plugins/reasonablesynth.lv2/lv2.c index 586ca54c86..87f930b3c4 100644 --- a/libs/plugins/reasonablesynth.lv2/lv2.c +++ b/libs/plugins/reasonablesynth.lv2/lv2.c @@ -100,7 +100,7 @@ instantiate(const LV2_Descriptor* descriptor, self->synth = synth_alloc(); synth_init(self->synth, rate); - +#ifndef PLATFORM_WINDOWS // easter egg is for sane platforms with native support for localtime_r only struct tm date; time_t now; time(&now); @@ -109,6 +109,7 @@ instantiate(const LV2_Descriptor* descriptor, printf("reasonable synth.lv2 says: happy holidays!\n"); self->xmas = true; } +#endif return (LV2_Handle)self; } |