Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenlib/BLI_allocator.h')
-rw-r--r--source/blender/blenlib/BLI_allocator.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_allocator.h b/source/blender/blenlib/BLI_allocator.h
index fd8c94eee4c..52fa8d2b705 100644
--- a/source/blender/blenlib/BLI_allocator.h
+++ b/source/blender/blenlib/BLI_allocator.h
@@ -13,6 +13,8 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+#ifndef __BLI_ALLOCATOR_H__
+#define __BLI_ALLOCATOR_H__
/** \file
* \ingroup bli
@@ -27,8 +29,6 @@
* job good enough.
*/
-#pragma once
-
#include <stdlib.h>
#include "MEM_guardedalloc.h"
@@ -125,3 +125,5 @@ class TemporaryAllocator {
};
} // namespace BLI
+
+#endif /* __BLI_ALLOCATOR_H__ */