- fix one broken #include path (in a not usually compiled test app)
- turn four #include paths from the "foo" form to <foo> The quotes form is normally only used for headers with path relative to the including file's path, though the standard doesn't strictly mandate this. This is consistent with the rest of sg, it makes the code's intent clearer and helps to find headers. (And it's a few milliseconds faster, too.)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#include <string>
|
||||
#include "Debug/logstream.hxx"
|
||||
#include <simgear/debug/logstream.hxx>
|
||||
|
||||
class Test {
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
#include <simgear/compiler.h>
|
||||
|
||||
#include "simgear/structure/SGReferenced.hxx"
|
||||
#include <simgear/structure/SGReferenced.hxx>
|
||||
|
||||
#include <map>
|
||||
|
||||
|
||||
@@ -21,10 +21,10 @@
|
||||
// $Id$
|
||||
|
||||
#include <cstdlib>
|
||||
#include <assert.h>
|
||||
|
||||
#include "tabbed_values.hxx"
|
||||
|
||||
#include "assert.h"
|
||||
|
||||
SGTabbedValues::SGTabbedValues(const char *line) :
|
||||
_line(line)
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
# include <sys/time.h>
|
||||
#endif
|
||||
#if _MSC_VER >= 1300
|
||||
# include "winsock2.h"
|
||||
# include <winsock2.h>
|
||||
#endif
|
||||
|
||||
#include "SGThread.hxx"
|
||||
|
||||
@@ -53,7 +53,7 @@ particular environments. */
|
||||
|
||||
#ifdef MOZILLA
|
||||
|
||||
#include "nspr.h"
|
||||
#include <nspr.h>
|
||||
#define malloc(x) PR_Malloc(x)
|
||||
#define realloc(x, y) PR_Realloc((x), (y))
|
||||
#define calloc(x, y) PR_Calloc((x),(y))
|
||||
|
||||
Reference in New Issue
Block a user