fix build on freebsd

This commit is contained in:
Jyun-Yan You
2012-02-09 14:08:24 +08:00
committed by Brian Anderson
parent 372cf4954c
commit b778dac197
20 changed files with 858 additions and 11 deletions

View File

@@ -1,3 +1,8 @@
// A workaround that makes INTPTR_MAX be visible
#ifdef __FreeBSD__
#define __STDC_LIMIT_MACROS 1
#endif
#include <vector>
#include "rust_internal.h"
#include "rust_util.h"