diff options
author | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2013-06-27 21:37:39 +0000 |
---|---|---|
committer | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2013-06-27 21:37:39 +0000 |
commit | 616a1b9933a231378cf4986859c5a96db746d0e8 (patch) | |
tree | bbfcb6b9e4518bd7f2e7a0fc4b4a8a5a40715ca4 | |
parent | 33629df2cb55241871579e2459f31356f2589de1 (diff) | |
download | fpc-616a1b9933a231378cf4986859c5a96db746d0e8.tar.gz |
+ FPCRTL_FILESYSTEM_SINGLE_BYTE_API define that is set for targets where we
use a single byte API for file system operations
+ FPCRTL_FILESYSTEM_TWO_BYTE_API define that is set for targets where we
use a single byte API for file system operations
o in principle, both can be set if both are supprted and implemented in
the RTL in order to minimise conversions depending on the scenario
git-svn-id: http://svn.freepascal.org/svn/fpc/branches/cpstrrtl@24991 3ad0048d-3df7-0310-abae-a5850022a9f2
31 files changed, 186 insertions, 0 deletions
diff --git a/rtl/aix/rtldefs.inc b/rtl/aix/rtldefs.inc index 8d371ca8a1..3376428f5e 100644 --- a/rtl/aix/rtldefs.inc +++ b/rtl/aix/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/amiga/rtldefs.inc b/rtl/amiga/rtldefs.inc index 8d371ca8a1..3376428f5e 100644 --- a/rtl/amiga/rtldefs.inc +++ b/rtl/amiga/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/atari/rtldefs.inc b/rtl/atari/rtldefs.inc index 8d371ca8a1..3376428f5e 100644 --- a/rtl/atari/rtldefs.inc +++ b/rtl/atari/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/beos/rtldefs.inc b/rtl/beos/rtldefs.inc index 8d371ca8a1..3376428f5e 100644 --- a/rtl/beos/rtldefs.inc +++ b/rtl/beos/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/darwin/rtldefs.inc b/rtl/darwin/rtldefs.inc index fc5d6a76c6..2752228742 100644 --- a/rtl/darwin/rtldefs.inc +++ b/rtl/darwin/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } {$define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/emx/rtldefs.inc b/rtl/emx/rtldefs.inc index 8d371ca8a1..3376428f5e 100644 --- a/rtl/emx/rtldefs.inc +++ b/rtl/emx/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/freebsd/rtldefs.inc b/rtl/freebsd/rtldefs.inc index 8d371ca8a1..3376428f5e 100644 --- a/rtl/freebsd/rtldefs.inc +++ b/rtl/freebsd/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/gba/rtldefs.inc b/rtl/gba/rtldefs.inc index 8d371ca8a1..3376428f5e 100644 --- a/rtl/gba/rtldefs.inc +++ b/rtl/gba/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/go32v2/rtldefs.inc b/rtl/go32v2/rtldefs.inc index 8d371ca8a1..3376428f5e 100644 --- a/rtl/go32v2/rtldefs.inc +++ b/rtl/go32v2/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/haiku/rtldefs.inc b/rtl/haiku/rtldefs.inc index 8d371ca8a1..3376428f5e 100644 --- a/rtl/haiku/rtldefs.inc +++ b/rtl/haiku/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/java/rtldefs.inc b/rtl/java/rtldefs.inc index 8d371ca8a1..32636c6721 100644 --- a/rtl/java/rtldefs.inc +++ b/rtl/java/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/linux/rtldefs.inc b/rtl/linux/rtldefs.inc index 8d371ca8a1..3376428f5e 100644 --- a/rtl/linux/rtldefs.inc +++ b/rtl/linux/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/macos/rtldefs.inc b/rtl/macos/rtldefs.inc index 8d371ca8a1..3376428f5e 100644 --- a/rtl/macos/rtldefs.inc +++ b/rtl/macos/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/morphos/rtldefs.inc b/rtl/morphos/rtldefs.inc index 8d371ca8a1..3376428f5e 100644 --- a/rtl/morphos/rtldefs.inc +++ b/rtl/morphos/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/msdos/rtldefs.inc b/rtl/msdos/rtldefs.inc index 8d371ca8a1..3376428f5e 100644 --- a/rtl/msdos/rtldefs.inc +++ b/rtl/msdos/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/nativent/rtldefs.inc b/rtl/nativent/rtldefs.inc index 8d371ca8a1..32636c6721 100644 --- a/rtl/nativent/rtldefs.inc +++ b/rtl/nativent/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/nds/rtldefs.inc b/rtl/nds/rtldefs.inc index 8d371ca8a1..3376428f5e 100644 --- a/rtl/nds/rtldefs.inc +++ b/rtl/nds/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/netbsd/rtldefs.inc b/rtl/netbsd/rtldefs.inc index 8d371ca8a1..3376428f5e 100644 --- a/rtl/netbsd/rtldefs.inc +++ b/rtl/netbsd/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/netware/rtldefs.inc b/rtl/netware/rtldefs.inc index 8d371ca8a1..3376428f5e 100644 --- a/rtl/netware/rtldefs.inc +++ b/rtl/netware/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/netwlibc/rtldefs.inc b/rtl/netwlibc/rtldefs.inc index 8d371ca8a1..3376428f5e 100644 --- a/rtl/netwlibc/rtldefs.inc +++ b/rtl/netwlibc/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/openbsd/rtldefs.inc b/rtl/openbsd/rtldefs.inc index 8d371ca8a1..3376428f5e 100644 --- a/rtl/openbsd/rtldefs.inc +++ b/rtl/openbsd/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/os2/rtldefs.inc b/rtl/os2/rtldefs.inc index 8d371ca8a1..3376428f5e 100644 --- a/rtl/os2/rtldefs.inc +++ b/rtl/os2/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/palmos/rtldefs.inc b/rtl/palmos/rtldefs.inc index 8d371ca8a1..3376428f5e 100644 --- a/rtl/palmos/rtldefs.inc +++ b/rtl/palmos/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/qnx/rtldefs.inc b/rtl/qnx/rtldefs.inc index 8d371ca8a1..3376428f5e 100644 --- a/rtl/qnx/rtldefs.inc +++ b/rtl/qnx/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/solaris/rtldefs.inc b/rtl/solaris/rtldefs.inc index 8d371ca8a1..3376428f5e 100644 --- a/rtl/solaris/rtldefs.inc +++ b/rtl/solaris/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/symbian/rtldefs.inc b/rtl/symbian/rtldefs.inc index 8d371ca8a1..3376428f5e 100644 --- a/rtl/symbian/rtldefs.inc +++ b/rtl/symbian/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/watcom/rtldefs.inc b/rtl/watcom/rtldefs.inc index 8d371ca8a1..3376428f5e 100644 --- a/rtl/watcom/rtldefs.inc +++ b/rtl/watcom/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/wii/rtldefs.inc b/rtl/wii/rtldefs.inc index 8d371ca8a1..3376428f5e 100644 --- a/rtl/wii/rtldefs.inc +++ b/rtl/wii/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/win32/rtldefs.inc b/rtl/win32/rtldefs.inc index 8d371ca8a1..32636c6721 100644 --- a/rtl/win32/rtldefs.inc +++ b/rtl/win32/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/win64/rtldefs.inc b/rtl/win64/rtldefs.inc index 8d371ca8a1..32636c6721 100644 --- a/rtl/win64/rtldefs.inc +++ b/rtl/win64/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_TWO_BYTE_API} diff --git a/rtl/wince/rtldefs.inc b/rtl/wince/rtldefs.inc index 8d371ca8a1..32636c6721 100644 --- a/rtl/wince/rtldefs.inc +++ b/rtl/wince/rtldefs.inc @@ -16,3 +16,9 @@ { the single byte OS APIs always use UTF-8 } { define FPCRTL_FILESYSTEM_UTF8} + +{ The OS supports a single byte file system operations API that we use } +{ define FPCRTL_FILESYSTEM_SINGLE_BYTE_API} + +{ The OS supports a two byte file system operations API that we use } +{$define FPCRTL_FILESYSTEM_TWO_BYTE_API} |