(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

@@ -12,11 +12,11 @@
#ifndef NETWORK_CONTENT_H
#define NETWORK_CONTENT_H
#if defined(ENABLE_NETWORK)
#include "core/tcp_content.h"
#include "../core/smallvec_type.hpp"
#if defined(ENABLE_NETWORK)
/** Vector with content info */
typedef SmallVector<ContentInfo *, 16> ContentVector;
typedef SmallVector<const ContentInfo *, 16> ConstContentVector;