summaryrefslogtreecommitdiff
path: root/src/corelib/gfx_constants.pas
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-03-25 09:54:25 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-03-25 09:54:25 +0000
commite71210c9b10ce0741b7a87f87aa0a54f4f93640a (patch)
treeb82246b9355130fc12b384b1cd9ecf7f298de348 /src/corelib/gfx_constants.pas
parent6d7be43cb7f06433dec345270880e440ab7829f6 (diff)
downloadfpGUI-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.pas13
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