Flipped the include guard and the pragma, and don't use the pragma for early versions of gcc (< 3.4)

This commit is contained in:
Jesse Beder
2011-03-02 06:11:41 +00:00
parent 4caedfda74
commit f34d60ca65
57 changed files with 232 additions and 108 deletions

View File

@@ -1,8 +1,10 @@
#pragma once
#ifndef INDENTATION_H_62B23520_7C8E_11DE_8A39_0800200C9A66
#define INDENTATION_H_62B23520_7C8E_11DE_8A39_0800200C9A66
#if !defined(__GNUC__) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || (__GNUC__ >= 4) // GCC supports "pragma once" correctly since 3.4
#pragma once
#endif
#include "yaml-cpp/ostream.h"
#include <iostream>