mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
get rid of erroneous error
This commit is contained in:
parent
3644c9429c
commit
d2a5a44809
@ -41,8 +41,13 @@ check_include(const string &line) {
|
||||
p++;
|
||||
}
|
||||
|
||||
// note: ppremake cant expand cpp #define vars used as include targets yet
|
||||
|
||||
if (p >= line.length() || (line[p] != '"' && line[p] != '<')) {
|
||||
cerr << "Ignoring invalid #include directive: " << line << "\n";
|
||||
// it it starts with a capital, assume its a #define var used as include tgt,
|
||||
// and dont print a warning
|
||||
if(!((line[p]>='A')&&(line[p]<='Z')))
|
||||
cerr << "Ignoring invalid #include directive: " << line << "\n";
|
||||
return string();
|
||||
}
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
#define PPDEPENDABLEFILE_H
|
||||
|
||||
#include "ppremake.h"
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <set>
|
||||
#include <vector>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user