mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
mingw build fixes (tested with i686-w64-mingw32 on linux-x86_64)
This commit is contained in:
parent
3e250d5f06
commit
912f07b919
24 changed files with 147 additions and 79 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue