mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-12 00:47:49 -04:00
Commit FS#9494 by Yoshihisa Uchida: add support for building the simulators under Windows using MingW
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19923 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b0a3a563a1
commit
e8da447729
5 changed files with 21 additions and 5 deletions
|
|
@ -540,6 +540,10 @@ if($prefix) {
|
|||
open(CFILE, ">$prefix.c") ||
|
||||
die "Error: couldn't create file $prefix.c\n";
|
||||
|
||||
# get header file name
|
||||
$headername = "$prefix.h";
|
||||
$headername =~ s/(.*\/)*//;
|
||||
|
||||
print HFILE <<MOO
|
||||
/* This file was automatically generated using genlang */
|
||||
/*
|
||||
|
|
@ -564,7 +568,7 @@ MOO
|
|||
/* This file was automaticly generated using genlang, the strings come
|
||||
from "$input" */
|
||||
|
||||
#include "$prefix.h"
|
||||
#include "$headername"
|
||||
|
||||
unsigned char *language_strings[LANG_LAST_INDEX_IN_ARRAY];
|
||||
const unsigned char language_builtin[] =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue