summaryrefslogtreecommitdiff
path: root/mysys/my_new.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/my_new.cc')
-rw-r--r--mysys/my_new.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/mysys/my_new.cc b/mysys/my_new.cc
index 8724f9cc4a4..03b3d0f5870 100644
--- a/mysys/my_new.cc
+++ b/mysys/my_new.cc
@@ -55,6 +55,11 @@ int __cxa_pure_virtual()
}
C_MODE_END
-
+#else
+/*
+ Define a dummy symbol, just to avoid compiler/linker warnings
+ about compiling an essentially empty file.
+*/
+int my_new_cc_symbol;
#endif /* USE_MYSYS_NEW */