From dff565f40105b20b0e8e4dba1f48ccc9b8e7ff44 Mon Sep 17 00:00:00 2001 From: Goraf <22941576+Goraf@users.noreply.github.com> Date: Fri, 23 Feb 2018 22:36:25 +0100 Subject: guard headers --- libs/Pcre16/src/stdafx.h | 4 ++-- libs/freeimage/src/Quantizers.h | 2 ++ libs/freeimage/src/stdafx.h | 2 ++ libs/hunspell/src/stdafx.h | 1 + libs/libaxolotl/src/stdafx.h | 2 ++ libs/libcurl/src/stdafx.h | 1 + libs/libjson/src/stdafx.h | 2 ++ libs/liblua/src/stdafx.h | 1 + libs/libsodium/src/stdafx.h | 1 + libs/sqlite3/src/stdafx.h | 1 + libs/zlib/src/stdafx.h | 4 ++-- 11 files changed, 17 insertions(+), 4 deletions(-) (limited to 'libs') diff --git a/libs/Pcre16/src/stdafx.h b/libs/Pcre16/src/stdafx.h index d78b7834c8..974932a9e4 100644 --- a/libs/Pcre16/src/stdafx.h +++ b/libs/Pcre16/src/stdafx.h @@ -1,2 +1,2 @@ - -// just a stub \ No newline at end of file +#pragma once +// just a stub diff --git a/libs/freeimage/src/Quantizers.h b/libs/freeimage/src/Quantizers.h index ad7ee57b9b..a6f0acd17c 100644 --- a/libs/freeimage/src/Quantizers.h +++ b/libs/freeimage/src/Quantizers.h @@ -20,6 +20,8 @@ // Use at your own risk! // ============================================================= +#pragma once + // //////////////////////////////////////////////////////////////// diff --git a/libs/freeimage/src/stdafx.h b/libs/freeimage/src/stdafx.h index 7c3d01d4da..6564872f2a 100644 --- a/libs/freeimage/src/stdafx.h +++ b/libs/freeimage/src/stdafx.h @@ -1,3 +1,5 @@ +#pragma once + #include <float.h> #include <io.h> #include <malloc.h> diff --git a/libs/hunspell/src/stdafx.h b/libs/hunspell/src/stdafx.h index e69de29bb2..6f70f09bee 100644 --- a/libs/hunspell/src/stdafx.h +++ b/libs/hunspell/src/stdafx.h @@ -0,0 +1 @@ +#pragma once diff --git a/libs/libaxolotl/src/stdafx.h b/libs/libaxolotl/src/stdafx.h index f2f11c5e29..71dc38600c 100644 --- a/libs/libaxolotl/src/stdafx.h +++ b/libs/libaxolotl/src/stdafx.h @@ -21,4 +21,6 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#pragma once + #include <stdio.h> diff --git a/libs/libcurl/src/stdafx.h b/libs/libcurl/src/stdafx.h index d78b7834c8..97cc6cf63c 100644 --- a/libs/libcurl/src/stdafx.h +++ b/libs/libcurl/src/stdafx.h @@ -1,2 +1,3 @@ +#pragma once // just a stub \ No newline at end of file diff --git a/libs/libjson/src/stdafx.h b/libs/libjson/src/stdafx.h index 9126e127b5..98152ceeb0 100644 --- a/libs/libjson/src/stdafx.h +++ b/libs/libjson/src/stdafx.h @@ -21,6 +21,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#pragma once + #include <windows.h> #include <malloc.h> diff --git a/libs/liblua/src/stdafx.h b/libs/liblua/src/stdafx.h index e69de29bb2..6f70f09bee 100644 --- a/libs/liblua/src/stdafx.h +++ b/libs/liblua/src/stdafx.h @@ -0,0 +1 @@ +#pragma once diff --git a/libs/libsodium/src/stdafx.h b/libs/libsodium/src/stdafx.h index e69de29bb2..6f70f09bee 100644 --- a/libs/libsodium/src/stdafx.h +++ b/libs/libsodium/src/stdafx.h @@ -0,0 +1 @@ +#pragma once diff --git a/libs/sqlite3/src/stdafx.h b/libs/sqlite3/src/stdafx.h index e69de29bb2..6f70f09bee 100644 --- a/libs/sqlite3/src/stdafx.h +++ b/libs/sqlite3/src/stdafx.h @@ -0,0 +1 @@ +#pragma once diff --git a/libs/zlib/src/stdafx.h b/libs/zlib/src/stdafx.h index d78b7834c8..974932a9e4 100644 --- a/libs/zlib/src/stdafx.h +++ b/libs/zlib/src/stdafx.h @@ -1,2 +1,2 @@ - -// just a stub \ No newline at end of file +#pragma once +// just a stub -- cgit v1.2.3