forked from mirror/OpenTTD
(svn r11697) -Fix [FS#1585]: strgen did not (always) compile properly.
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
#elif !defined(TESTING)
|
#elif !defined(TESTING)
|
||||||
/* Else include endian[target/host].h, which has the endian-type, autodetected by the Makefile */
|
/* Else include endian[target/host].h, which has the endian-type, autodetected by the Makefile */
|
||||||
#if defined(STRGEN)
|
#if defined(STRGEN)
|
||||||
#include "/endian_host.h"
|
#include "endian_host.h"
|
||||||
#else
|
#else
|
||||||
#include "endian_target.h"
|
#include "endian_target.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -4,6 +4,7 @@
|
|||||||
#include "../string.h"
|
#include "../string.h"
|
||||||
#include "../table/control_codes.h"
|
#include "../table/control_codes.h"
|
||||||
#include "../core/alloc_func.hpp"
|
#include "../core/alloc_func.hpp"
|
||||||
|
#include "../core/endian_func.hpp"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
Reference in New Issue
Block a user