Commit fa7fd5b8 authored by Erwin Janssen's avatar Erwin Janssen

Deleted `defined()` in ast_common.h around set values.

Some values are defined 0 or 1 at the top of the file. There shouldn't be
a `defined` around these, as the value must the checked, not if they are
defined.
parent 3e1050cc
......@@ -100,18 +100,18 @@
#define __DEFINE__(T,obj,val) T obj = val
#endif
#ifndef _AST_STD_H
# if defined(_hdr_stddef)
# if _hdr_stddef
# include <stddef.h>
# endif
# if defined(_sys_types)
# if _sys_types
# include <sys/types.h>
# endif
#endif
#if !defined(_typ_size_t)
#if !_typ_size_t
# define _typ_size_t 1
typedef int size_t;
#endif
#if !defined(_typ_ssize_t)
#if !_typ_ssize_t
# define _typ_ssize_t 1
typedef int ssize_t;
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment