Bug 1081258 - Remove unnecesary (re)definition of NAN, r=mikeh
authorBenjamin Smedberg <benjamin@smedbergs.us>
Sat, 11 Oct 2014 15:56:54 +1300
changeset 209951 43bd6e46c62c795053a643822b887c953ab5b4ed
parent 209950 22e19b0597e672eb3122813122106fb455db0b44
child 209952 5fc6e12c048b54555061d85a656dd7ef7e23620d
push idunknown
push userunknown
push dateunknown
reviewersmikeh
bugs1081258
milestone35.0a1
Bug 1081258 - Remove unnecesary (re)definition of NAN, r=mikeh
dom/camera/CameraCommon.h
--- a/dom/camera/CameraCommon.h
+++ b/dom/camera/CameraCommon.h
@@ -10,20 +10,16 @@
 #ifndef __func__
 #ifdef __FUNCTION__
 #define __func__ __FUNCTION__
 #else
 #define __func__ __FILE__
 #endif
 #endif
 
-#ifndef NAN
-#define NAN std::numeric_limits<double>::quiet_NaN()
-#endif
-
 #include "prlog.h"
 
 #ifdef PR_LOGGING
 extern PRLogModuleInfo* GetCameraLog();
 #define DOM_CAMERA_LOG( type, ... ) PR_LOG(GetCameraLog(), (PRLogModuleLevel)type, ( __VA_ARGS__ ))
 #else
 #define DOM_CAMERA_LOG( type, ... )
 #endif