diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-03-25 09:54:25 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-03-25 09:54:25 +0000 |
commit | e71210c9b10ce0741b7a87f87aa0a54f4f93640a (patch) | |
tree | b82246b9355130fc12b384b1cd9ecf7f298de348 /src/corelib/gfx_constants.pas | |
parent | 6d7be43cb7f06433dec345270880e440ab7829f6 (diff) | |
download | fpGUI-e71210c9b10ce0741b7a87f87aa0a54f4f93640a.tar.xz |
* fpGUI should now compile under FPC 2.3.1 but it's untested.
Diffstat (limited to 'src/corelib/gfx_constants.pas')
-rw-r--r-- | src/corelib/gfx_constants.pas | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/corelib/gfx_constants.pas b/src/corelib/gfx_constants.pas index e64cf448..9d07d1c3 100644 --- a/src/corelib/gfx_constants.pas +++ b/src/corelib/gfx_constants.pas @@ -60,11 +60,14 @@ resourcestring const - {$IFDEF UNIX} - AllFilesMask = '*'; - {$ELSE} - AllFilesMask = '*.*'; - {$ENDIF UNIX} + // FPC 2.2.0 and earlier only + {$if defined(VER2_0) or defined(VER2_2_0)} + {$IFDEF UNIX} + AllFilesMask = '*'; + {$ELSE} + AllFilesMask = '*.*'; + {$ENDIF UNIX} + {$endif} { This is so that when we support LTR and RTL languages, the colon will be |