【发布时间】:2014-03-16 06:50:09
【问题描述】:
在 Apple 的开源网站上,entry for stdarg.h 包含以下内容:
#ifndef _STDARG_H
#ifndef _ANSI_STDARG_H_
#ifndef __need___va_list
#define _STDARG_H
#define _ANSI_STDARG_H_
#endif /* not __need___va_list */
#undef __need___va_list
如果#define 语句的第一个参数后面没有任何内容,它们会做什么?
【问题讨论】:
-
它们只是定义宏以扩展为空,但对
#ifdef很有用
标签: c c-preprocessor header-files preprocessor-directive