diff --git a/common_types.h b/common_types.h index f717094092..97707064c6 100644 --- a/common_types.h +++ b/common_types.h @@ -30,10 +30,6 @@ #pragma warning(disable : 4351) #endif -#ifndef NULL -#define NULL 0 -#endif - #define RTP_PAYLOAD_NAME_SIZE 32u #if defined(WEBRTC_WIN) || defined(WIN32) diff --git a/modules/video_capture/video_capture_defines.h b/modules/video_capture/video_capture_defines.h index a87f5ee2f9..ec5bf24e4c 100644 --- a/modules/video_capture/video_capture_defines.h +++ b/modules/video_capture/video_capture_defines.h @@ -17,10 +17,6 @@ namespace webrtc { -// Defines -#ifndef NULL - #define NULL 0 -#endif enum {kVideoCaptureUniqueNameLength =1024}; //Max unique capture device name lenght enum {kVideoCaptureDeviceNameLength =256}; //Max capture device name lenght