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:
authorCampbell Barton <ideasman42@gmail.com>2013-03-29 10:25:22 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-03-29 10:25:22 +0400
commit1777a69818610d4ed8a93f661a45219d97e7f6c5 (patch)
treebbfb0b35629e94ffd727f4a8b98fbf6cbebdaa36 /intern/utfconv/utfconv.h
parentab41583bc2be591c0af921b243158e43a94505d7 (diff)
misc minor edits.
- pass string size to BLI_timestr() to avoid possible buffer overrun. - quiet warning for mingw. - include guards for windows utf conversion funcs. - fix for mistage in edge-angle-selection check. - some style cleanup.
Diffstat (limited to 'intern/utfconv/utfconv.h')
-rw-r--r--intern/utfconv/utfconv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/intern/utfconv/utfconv.h b/intern/utfconv/utfconv.h
index 22710bfdb37..f00f4aeef27 100644
--- a/intern/utfconv/utfconv.h
+++ b/intern/utfconv/utfconv.h
@@ -23,6 +23,9 @@
* ***** END GPL LICENSE BLOCK *****
*/
+#ifndef __UTFCONV_H__
+#define __UTFCONV_H__
+
#include <wchar.h>
#include <stdio.h>
#include <stdlib.h>
@@ -98,3 +101,5 @@ wchar_t *alloc_utf16_from_8(const char *in8, size_t add);
#ifdef __cplusplus
}
#endif
+
+#endif /* __UTFCONV_H__ */