summaryrefslogtreecommitdiff
path: root/tests/allocator.hpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-05-25 21:40:11 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-05-25 21:40:11 +0000
commit0e1b238faec0980150c202e81b2bf8f63ba2ca8e (patch)
treef365d16fe755e44799dd649666ab47087900d2be /tests/allocator.hpp
parent75a0d2379aee05e59f0829b04240b9307469e727 (diff)
tests: Replaced #pragma once with header guards
git-svn-id: http://pugixml.googlecode.com/svn/trunk@450 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/allocator.hpp')
-rw-r--r--tests/allocator.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/allocator.hpp b/tests/allocator.hpp
index a2022fe..677fbe4 100644
--- a/tests/allocator.hpp
+++ b/tests/allocator.hpp
@@ -1,7 +1,10 @@
-#pragma once
+#ifndef HEADER_TEST_ALLOCATOR_HPP
+#define HEADER_TEST_ALLOCATOR_HPP
#include <stddef.h>
void* memory_allocate(size_t size);
size_t memory_size(void* ptr);
void memory_deallocate(void* ptr);
+
+#endif