fix multiple-include-of-stdint errors

This commit is contained in:
Joshua Warner 2013-02-28 15:57:09 -07:00
parent 9327043bc5
commit 0b01dd565a
3 changed files with 4 additions and 7 deletions

View File

@ -8,8 +8,8 @@
There is NO WARRANTY for this software. See license.txt for
details. */
#ifndef COMMON_H
#define COMMON_H
#ifndef AVIAN_COMMON_H
#define AVIAN_COMMON_H
#ifndef __STDC_CONSTANT_MACROS
# define __STDC_CONSTANT_MACROS
@ -113,7 +113,7 @@ typedef intptr_t intptr_alias_t;
#else // not _MSC_VER
# include "stdint.h"
# include <stdint.h>
# define BYTES_PER_WORD __SIZEOF_POINTER__
@ -554,4 +554,4 @@ equal(const void* a, unsigned al, const void* b, unsigned bl)
} // namespace vm
#endif // COMMON_H
#endif // AVIAN_COMMON_H

View File

@ -9,7 +9,6 @@
details. */
#include <stdarg.h>
#include <stdint.h>
#include <string.h>
#include "avian/environment.h"

View File

@ -8,8 +8,6 @@
There is NO WARRANTY for this software. See license.txt for
details. */
#include <stdint.h>
#include "avian/target.h"
#include "avian/alloc-vector.h"
#include "avian/allocator.h"