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/gameengine/Expressions/Value.h')
-rw-r--r--source/gameengine/Expressions/Value.h21
1 files changed, 6 insertions, 15 deletions
diff --git a/source/gameengine/Expressions/Value.h b/source/gameengine/Expressions/Value.h
index e0c4daeccd0..92b5e20543c 100644
--- a/source/gameengine/Expressions/Value.h
+++ b/source/gameengine/Expressions/Value.h
@@ -16,13 +16,13 @@
* \ingroup expressions
*/
-#if defined(WIN32) && !defined(FREE_WINDOWS)
-#pragma warning (disable:4786)
-#endif //WIN32
-
#ifndef __VALUE_H__
#define __VALUE_H__
+#if defined(WIN32) && !defined(FREE_WINDOWS)
+#pragma warning (disable:4786)
+#endif /* WIN32 */
+
#include <map> // array functionality for the propertylist
#include "STR_String.h" // STR_String class
@@ -53,14 +53,6 @@ using namespace std;
#define assertd(exp) ((void)NULL)
#endif
-
-#ifndef USE_PRAGMA_ONCE
-#ifdef WIN32
- #pragma once
-
-#endif //WIN32
-#endif
-
enum VALUE_OPERATOR {
VALUE_MOD_OPERATOR, // %
@@ -233,7 +225,7 @@ public:
static PyObject *pyattr_get_name(void * self, const KX_PYATTRIBUTE_DEF * attrdef);
virtual PyObject *ConvertKeysToPython( void );
-#endif // WITH_PYTHON
+#endif /* WITH_PYTHON */
@@ -439,5 +431,4 @@ protected:
#endif
};
-#endif // !defined _VALUEBASECLASS_H
-
+#endif /* __VALUE_H__ */