From 273480d49253cc5a353a76a46da635aaeb779b8c Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 8 Mar 2007 16:53:30 +0000 Subject: Removed MAX_FILENAME_LENGTH workaround (using enum's instead of #defines means we can take advantage of namespaces) svn-id: r26019 --- backends/platform/ds/arm9/source/fat/gba_nds_fat.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'backends/platform/ds/arm9/source/fat/gba_nds_fat.h') 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 -- cgit v1.2.3