Changeset 3905


Ignore:
Timestamp:
12/27/11 08:01:41 (3 years ago)
Author:
drobilla
Message:

Fix compilation.

Location:
trunk/plugins/blip.lv2
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/blip.lv2/src/include/interpolate.h

    r3525 r3905  
    33 
    44#include "lv2/lv2plug.in/ns/lv2core/lv2.h" 
    5 #include <config.h> 
     5#include "blip-config.h" 
    66#include "math_func.h" 
    77 
  • trunk/plugins/blip.lv2/src/include/math_func.h

    r3525 r3905  
    88 
    99#include <math.h> 
    10 #include "config.h" 
     10#include "blip-config.h" 
     11 
     12#ifndef M_PI 
     13#    define M_PI 3.14159265358979323846 /* pi */ 
     14#endif 
     15 
     16#ifndef M_LN10 
     17#    define M_LN10 2.30258509299404568402  /* log_e(10) */ 
     18#endif 
     19 
     20#ifndef M_LN2 
     21#    define M_LN2 0.69314718055994530942 /* log_e(2) */ 
     22#endif 
    1123 
    1224#ifdef HAVE_SINF 
  • trunk/plugins/blip.lv2/src/include/wavedata.h

    r3526 r3905  
    2222 
    2323#include "lv2/lv2plug.in/ns/lv2core/lv2.h" 
    24 #include <config.h> 
     24#include "blip-config.h" 
    2525#include "math_func.h" 
    2626#include "interpolate.h" 
  • trunk/plugins/blip.lv2/src/sum.c

    r3543 r3905  
    2020#include <stdlib.h> 
    2121#include "lv2/lv2plug.in/ns/lv2core/lv2.h" 
    22 #include "include/lv2_features.h" 
    2322 
    2423#define SUM_INPUT1 0 
  • trunk/plugins/blip.lv2/src/wavedata.c

    r3526 r3905  
    2626#include <stdio.h> 
    2727#include "lv2/lv2plug.in/ns/lv2core/lv2.h" 
    28 #include "config.h" 
     28#include "blip-config.h" 
    2929#include "wavedata.h" 
    3030 
  • trunk/plugins/blip.lv2/src/wavegen.c

    r3604 r3905  
    133133                strcmplen = len1 < len2 ? len1 : len2; 
    134134 
    135                 if (!strncasecmp(optarg, wave_names[i], strcmplen)) { 
     135                if (!strncmp(optarg, wave_names[i], strcmplen)) { 
    136136                    wavetype = i; 
    137137                } 
  • trunk/plugins/blip.lv2/src/wdatutil.c

    r3526 r3905  
    2121#include <stdio.h> 
    2222#include <stdlib.h> 
    23 #include <math.h> 
    2423#include "lv2/lv2plug.in/ns/lv2core/lv2.h" 
    2524#include "common.h" 
     25#include "math_func.h" 
    2626#include "wavedata.h" 
    2727#include "wdatutil.h" 
     
    5151 
    5252char* wave_names[] = { 
    53     "Saw", 
    54     "Square", 
    55     "Parabola" 
     53    "saw", 
     54    "square", 
     55    "parabola" 
    5656}; 
    5757 
  • trunk/plugins/blip.lv2/wscript

    r3647 r3905  
    2525    autowaf.display_header('Blip Configuration') 
    2626 
     27    conf.env.append_unique('CFLAGS', '-std=c99') 
     28 
    2729    autowaf.check_pkg(conf, 'lv2core', uselib_store='LV2CORE') 
    2830 
     
    3335               mandatory     = False) 
    3436 
    35     conf.env.append_unique('CFLAGS', '-std=c99') 
    36  
    37     conf.write_config_header('config.h', remove=False) 
     37    conf.write_config_header('blip-config.h', remove=False) 
    3838 
    3939    # Set env['pluginlib_PATTERN'] 
Note: See TracChangeset for help on using the changeset viewer.