(svn r17699) -Codechange: move #ifdef ENABLE_NETWORK till after the 'generic' includes so compilation without network support doesn't get broken as easily by changes in header files

This commit is contained in:
rubidium
2009-10-04 20:00:56 +00:00
parent 7866de8912
commit 67a11a5776
13 changed files with 26 additions and 26 deletions

View File

@@ -14,13 +14,13 @@
#ifndef NETWORK_CORE_CONTENT_H
#define NETWORK_CORE_CONTENT_H
#ifdef ENABLE_NETWORK
#include "os_abstraction.h"
#include "tcp.h"
#include "packet.h"
#include "../../debug.h"
#ifdef ENABLE_NETWORK
/** The values in the enum are important; they are used as database 'keys' */
enum ContentType {
CONTENT_TYPE_BEGIN = 1, ///< Helper to mark the begin of the types