ref: 1e5a290855f40201afd73f0313ee38bc5abbd336
parent: 469419bfb4cf1aba6550114795b4d8615927aa3c
author: unknown <ruil2@RUIL2-WS01.cisco.com>
date: Thu Jan 2 12:19:25 EST 2014
1. fix gcc 3.4 link error. 2. fix mingw build issue when enable asm
--- a/build/platform-mingw_nt.mk
+++ b/build/platform-mingw_nt.mk
@@ -1,5 +1,5 @@
ASM = nasm
CFLAGS += -DWIN32 -D__NO_CTYPE
LDFLAGS +=
-ASMFLAGS += -f win -DPREFIX
+ASMFLAGS += -f win32 -DPREFIX
--- a/codec/decoder/core/inc/utils.h
+++ b/codec/decoder/core/inc/utils.h
@@ -48,9 +48,6 @@
namespace WelsDec {
-#ifdef __cplusplus
-extern "C" {
-#endif//__cplusplus
// cache line size
extern uint32_t g_uiCacheLineSize;
@@ -91,9 +88,7 @@
WELS_LOG_DEFAULT = WELS_LOG_ERROR | WELS_LOG_WARNING | WELS_LOG_INFO | WELS_LOG_DEBUG // Default log level in Wels codec
};
-#ifdef __cplusplus
-}
-#endif//__cplusplus
+
} // namespace WelsDec