Bug 1288924 - Remove __func__ polyfill for VS2013. r=froydnj

This commit is contained in:
Chris Peterson 2016-07-25 01:14:31 -07:00
parent 034db5a8b2
commit 6674411c75
2 changed files with 0 additions and 12 deletions

View File

@ -9,7 +9,6 @@
#include "mozilla/Atomics.h"
#include "mozilla/Attributes.h"
#include "mozilla/Logging.h"
#include "mozilla/dom/devicestorage/DeviceStorageRequestChild.h"
#include "DOMRequest.h"

View File

@ -225,17 +225,6 @@ void log_print(const LogModule* aModule,
#undef PR_LOG
#undef PR_LOG_TEST
/*
* __func__ was standardized in C++11 and is supported by clang, gcc, and MSVC
* 2015. Here we polyfill __func__ for earlier versions of MSVC.
* http://blogs.msdn.com/b/vcblog/archive/2015/06/19/c-11-14-17-features-in-vs-2015-rtm.aspx
*/
#ifdef _MSC_VER
# if _MSC_VER < 1900
# define __func__ __FUNCTION__
# endif
#endif
// This #define is a Logging.h-only knob! Don't encourage people to get fancy
// with their log definitions by exporting it outside of Logging.h.
#undef MOZ_LOGGING_ENABLED