Explicitly call out path to config.h
Under Windows it seems that the Arduino compilation can't find <config.h> from inside a subdirectory. So just point explicitly to "../config.h" for includes in subdirs.
This commit is contained in:
1 parent
cf0d5f298e
commit
ddb47b29c1
7 files changed
+7
-7
No files matched your search
@@ -36,7 +36,7 @@
|
||||
#include "../FLAC/ordinals.h"
|
||||
|
||||
//#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#include "../config.h"
|
||||
//#endif
|
||||
|
||||
#ifndef FLAC__CPU_X86_64
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#define FLAC__PRIVATE__FIXED_H
|
||||
|
||||
//#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#include "../config.h"
|
||||
//#endif
|
||||
|
||||
#include "cpu.h"
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#define FLAC__PRIVATE__FLOAT_H
|
||||
|
||||
//#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#include "../config.h"
|
||||
//#endif
|
||||
|
||||
#include "../FLAC/ordinals.h"
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#define FLAC__PRIVATE__LPC_H
|
||||
|
||||
//#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#include "../config.h"
|
||||
//#endif
|
||||
|
||||
#include "cpu.h"
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#define FLAC__PRIVATE__MEMORY_H
|
||||
|
||||
//#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#include "../config.h"
|
||||
//#endif
|
||||
|
||||
#include <stdlib.h> /* for size_t */
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#define FLAC__PRIVATE__WINDOW_H
|
||||
|
||||
//#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#include "../config.h"
|
||||
//#endif
|
||||
|
||||
#include "float.h"
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#define FLAC__SHARE__ALLOC_H
|
||||
|
||||
//#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
# include "../config.h"
|
||||
//#endif
|
||||
|
||||
/* WATCHOUT: for c++ you may have to #define __STDC_LIMIT_MACROS 1 real early
|
||||
|
||||
Reference in new issue
Block a user