Merge "Fix -Wmacro-redefined werror issues."
This commit is contained in:
commit
3d4d976af2
|
@ -37,6 +37,8 @@ ifeq ($(DISPLAY_DEBUG_SWAPINTERVAL),true)
|
|||
common_flags += -DDEBUG_SWAPINTERVAL
|
||||
endif
|
||||
|
||||
common_flags += -D__STDC_FORMAT_MACROS
|
||||
|
||||
common_deps :=
|
||||
kernel_includes :=
|
||||
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#include "string.h"
|
||||
#include "external.h"
|
||||
#include "overlay.h"
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#include <inttypes.h>
|
||||
|
||||
namespace qhwc {
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
*/
|
||||
|
||||
#define LOG_NDDEBUG 0
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "profiler.h"
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
#include <sys/mman.h>
|
||||
#include <cutils/log.h>
|
||||
#include <gralloc_priv.h>
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#include <inttypes.h>
|
||||
#include "qdMetaData.h"
|
||||
|
||||
|
|
|
@ -41,6 +41,8 @@ ifeq ($(DISPLAY_DEBUG_SWAPINTERVAL),true)
|
|||
common_flags += -DDEBUG_SWAPINTERVAL
|
||||
endif
|
||||
|
||||
common_flags += -D__STDC_FORMAT_MACROS
|
||||
|
||||
common_deps :=
|
||||
kernel_includes :=
|
||||
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#include "string.h"
|
||||
#include "external.h"
|
||||
#include "overlay.h"
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#include <inttypes.h>
|
||||
|
||||
namespace qhwc {
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
*/
|
||||
|
||||
#define LOG_NDDEBUG 0
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "profiler.h"
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
#include <sys/mman.h>
|
||||
#include <cutils/log.h>
|
||||
#include <gralloc_priv.h>
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#include <inttypes.h>
|
||||
#include "qdMetaData.h"
|
||||
|
||||
|
|
|
@ -42,6 +42,8 @@ ifeq ($(DISPLAY_DEBUG_SWAPINTERVAL),true)
|
|||
common_flags += -DDEBUG_SWAPINTERVAL
|
||||
endif
|
||||
|
||||
common_flags += -D__STDC_FORMAT_MACROS
|
||||
|
||||
common_deps :=
|
||||
kernel_includes :=
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
#include "qd_utils.h"
|
||||
#include "string.h"
|
||||
#include "overlay.h"
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#include <inttypes.h>
|
||||
|
||||
using namespace qdutils;
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
*/
|
||||
|
||||
#define LOG_NDDEBUG 0
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "profiler.h"
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
#include <sys/mman.h>
|
||||
#include <cutils/log.h>
|
||||
#include <gralloc_priv.h>
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#include <inttypes.h>
|
||||
#include "qdMetaData.h"
|
||||
|
||||
|
|
|
@ -32,6 +32,8 @@ ifeq ($(DISPLAY_DEBUG_SWAPINTERVAL),true)
|
|||
common_flags += -DDEBUG_SWAPINTERVAL
|
||||
endif
|
||||
|
||||
common_flags += -D__STDC_FORMAT_MACROS
|
||||
|
||||
common_deps :=
|
||||
kernel_includes :=
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
#include "qd_utils.h"
|
||||
#include "string.h"
|
||||
#include "overlay.h"
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#include <inttypes.h>
|
||||
|
||||
using namespace qdutils;
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
*/
|
||||
|
||||
#define LOG_NDDEBUG 0
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "profiler.h"
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
#include <sys/mman.h>
|
||||
#include <cutils/log.h>
|
||||
#include <gralloc_priv.h>
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#include <inttypes.h>
|
||||
#include "qdMetaData.h"
|
||||
|
||||
|
|
|
@ -42,6 +42,8 @@ ifeq ($(call is-board-platform-in-list, $(MASTER_SIDE_CP_TARGET_LIST)), true)
|
|||
common_flags += -DMASTER_SIDE_CP
|
||||
endif
|
||||
|
||||
common_flags += -D__STDC_FORMAT_MACROS
|
||||
|
||||
common_deps :=
|
||||
kernel_includes :=
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
*/
|
||||
|
||||
#define LOG_NDDEBUG 0
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "profiler.h"
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
#include <sys/mman.h>
|
||||
#include <cutils/log.h>
|
||||
#include <gralloc_priv.h>
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#include <inttypes.h>
|
||||
#include "qdMetaData.h"
|
||||
|
||||
|
|
|
@ -27,8 +27,6 @@
|
|||
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#define __STDC_FORMAT_MACROS
|
||||
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
#include <math.h>
|
||||
|
|
|
@ -53,6 +53,8 @@ ifeq ($(call is-board-platform-in-list, $(MASTER_SIDE_CP_TARGET_LIST)), true)
|
|||
common_flags += -DMASTER_SIDE_CP
|
||||
endif
|
||||
|
||||
common_flags += -D__STDC_FORMAT_MACROS
|
||||
|
||||
common_deps :=
|
||||
kernel_includes :=
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
*/
|
||||
|
||||
#define LOG_NDDEBUG 0
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "profiler.h"
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
#include <sys/mman.h>
|
||||
#include <cutils/log.h>
|
||||
#include <gralloc_priv.h>
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#include <inttypes.h>
|
||||
#include "qdMetaData.h"
|
||||
|
||||
|
|
|
@ -27,8 +27,6 @@
|
|||
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#define __STDC_FORMAT_MACROS
|
||||
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
#include <math.h>
|
||||
|
|
Loading…
Reference in New Issue