Ticket #7694: hack.diff

File hack.diff, 590 bytes (added by Kirben, 15 years ago)

Fluidsynth 1.0.8 hack for static build

  • .0.8/include/fluidsynth.h

    diff -bur fluidsynth-1.0.8/include/fluidsynth.h nfluidsynth-1.0.8/include/fluidsynth.h
    old new  
    2828#endif
    2929
    3030#if defined(WIN32)
    31 #if defined(FLUIDSYNTH_DLL_EXPORTS)
    32 #define FLUIDSYNTH_API __declspec(dllexport)
    33 #elif defined(FLUIDSYNTH_NOT_A_DLL)
    34 #define FLUIDSYNTH_API
    35 #else
    36 #define FLUIDSYNTH_API __declspec(dllimport)
    37 #endif
    3831
    3932#elif defined(MACOS9)
    4033#define FLUIDSYNTH_API __declspec(export)