forked from len0rd/rockbox
FS#8482:
Build system tweak that builds all languages first, to make the system able to use a buffer size that fits the larger language only. Parts of this work done by Jonas Haggqvist, but all the mistakes are my own! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16337 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8c81e789cc
commit
4a06c87e78
8 changed files with 96 additions and 40 deletions
|
|
@ -1,3 +1,5 @@
|
|||
#ifndef __LANGUAGE_H
|
||||
#define __LANGUAGE_H
|
||||
/***************************************************************************
|
||||
* __________ __ ___.
|
||||
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
||||
|
|
@ -7,7 +9,7 @@
|
|||
* \/ \/ \/ \/ \/
|
||||
* $Id$
|
||||
*
|
||||
* Copyright (C) 2002 Daniel Stenberg
|
||||
* Copyright (C) 2002, 2008 Daniel Stenberg
|
||||
*
|
||||
* All files in this archive are subject to the GNU General Public License.
|
||||
* See the file COPYING in the source tree root for full license agreement.
|
||||
|
|
@ -17,6 +19,11 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
/* The following header is generated by the build system and only defines
|
||||
MAX_LANGUAGE_SIZE to be the size of the largest currently available
|
||||
language! */
|
||||
//#include "max_language_size.h"
|
||||
|
||||
/* size of the buffer used for loadable, translated strings */
|
||||
#define MAX_LANGUAGE_SIZE 23500
|
||||
|
||||
|
|
@ -29,3 +36,5 @@ void lang_init(void);
|
|||
|
||||
/* load a given language file */
|
||||
int lang_load(const char *filename);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue