diff options
author | Max Horn | 2007-03-08 16:53:30 +0000 |
---|---|---|
committer | Max Horn | 2007-03-08 16:53:30 +0000 |
commit | 273480d49253cc5a353a76a46da635aaeb779b8c (patch) | |
tree | fef4ede6ee78c432532f179cd97b4d7ab2ba42c3 /backends/platform/ds/arm9 | |
parent | 89095f10a803032cc5aeda96e55b6ecfdd7cd679 (diff) | |
download | scummvm-rg350-273480d49253cc5a353a76a46da635aaeb779b8c.tar.gz scummvm-rg350-273480d49253cc5a353a76a46da635aaeb779b8c.tar.bz2 scummvm-rg350-273480d49253cc5a353a76a46da635aaeb779b8c.zip |
Removed MAX_FILENAME_LENGTH workaround (using enum's instead of #defines means we can take advantage of namespaces)
svn-id: r26019
Diffstat (limited to 'backends/platform/ds/arm9')
-rw-r--r-- | backends/platform/ds/arm9/source/fat/gba_nds_fat.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/platform/ds/arm9/source/fat/gba_nds_fat.h b/backends/platform/ds/arm9/source/fat/gba_nds_fat.h index 5020cd1b49..b238182e14 100644 --- a/backends/platform/ds/arm9/source/fat/gba_nds_fat.h +++ b/backends/platform/ds/arm9/source/fat/gba_nds_fat.h @@ -66,7 +66,9 @@ extern "C" { // Important constants -#define MAX_FILENAME_LENGTH 256 // Maximum LFN length. Don't change this one +enum { + MAX_FILENAME_LENGTH = 256 // Maximum LFN length. Don't change this one +}; // File Constants #ifndef EOF |