mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 04:38:02 +00:00
Bug 1288924 - Remove __func__ polyfill for VS2013. r=froydnj
This commit is contained in:
parent
034db5a8b2
commit
6674411c75
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user