diff options
author | Lode <lvandeve@gmail.com> | 2016-09-11 14:12:51 +0200 |
---|---|---|
committer | Lode <lvandeve@gmail.com> | 2016-09-11 14:12:51 +0200 |
commit | ac8f8863c609f34b69d629ed72d6a234afeb11d5 (patch) | |
tree | 3355251ee93cc087772ad660901ff2ab6ce22716 /lodepng_util.h | |
parent | a71964ed5fe4f82a32ac7f8201338900f66e855d (diff) |
include guards instead of pragma once
Diffstat (limited to 'lodepng_util.h')
-rw-r--r-- | lodepng_util.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lodepng_util.h b/lodepng_util.h index e74bbb5..236ad46 100644 --- a/lodepng_util.h +++ b/lodepng_util.h @@ -27,12 +27,13 @@ freely, subject to the following restrictions: Extra C++ utilities for LodePNG, for convenience. */ +#ifndef LODEPNG_UTIL_H +#define LODEPNG_UTIL_H + #include <string> #include <vector> #include "lodepng.h" -#pragma once - namespace lodepng { @@ -149,3 +150,5 @@ struct ZlibBlockInfo void extractZlibInfo(std::vector<ZlibBlockInfo>& zlibinfo, const std::vector<unsigned char>& in); } // namespace lodepng + +#endif /*LODEPNG_UTIL_H inclusion guard*/ |