summaryrefslogtreecommitdiff
path: root/Tools/CCode/Source/GenFvMap/GenFvMap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/CCode/Source/GenFvMap/GenFvMap.cpp')
-rw-r--r--Tools/CCode/Source/GenFvMap/GenFvMap.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tools/CCode/Source/GenFvMap/GenFvMap.cpp b/Tools/CCode/Source/GenFvMap/GenFvMap.cpp
index 1bd7b38f54..881251f03e 100644
--- a/Tools/CCode/Source/GenFvMap/GenFvMap.cpp
+++ b/Tools/CCode/Source/GenFvMap/GenFvMap.cpp
@@ -24,6 +24,12 @@ using namespace std;
typedef UINT64 ulonglong_t;
+#ifdef __GNUC__
+#if __STDC_VERSION__ < 199901L
+#define __FUNCTION__ __FILE__
+#endif
+#endif
+
template <class T>
class CMemoryLeakChecker : public list<T*>
{