浏览代码

disabled an obsoleted warning

Jiri Kuthan 23 年之前
父节点
当前提交
af83efee1e
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      mem/shm_mem.c

+ 3 - 1
mem/shm_mem.c

@@ -89,7 +89,9 @@ void* _shm_resize( void* p , unsigned int s)
 	#ifdef __SUNPRO_C
 		/*no warning support on Sun cc */
 	#else
-		#warning shm_resize performs suboptimally without VQ_MALLOC!
+		#ifdef 0
+			#warning shm_resize performs suboptimally without VQ_MALLOC!
+		#endif
 	#endif
 #endif