diff options
| author | Almindor <Almindor@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2008-02-08 16:58:41 +0000 |
|---|---|---|
| committer | Almindor <Almindor@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2008-02-08 16:58:41 +0000 |
| commit | 456636ed9d4f7513a262b1803b81a22e963682fb (patch) | |
| tree | 044ad5f01bcb6f2f0bc6328fde434c789978639b /packages/aspell | |
| parent | 8eed567504960eac815c89dd0c3326e933d057de (diff) | |
| download | fpc-456636ed9d4f7513a262b1803b81a22e963682fb.tar.gz | |
* use the qword hack only on linux x86_64 (others would fail)
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@10250 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/aspell')
| -rw-r--r-- | packages/aspell/src/aspell.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/aspell/src/aspell.pp b/packages/aspell/src/aspell.pp index d610c89481..dfb7f8df35 100644 --- a/packages/aspell/src/aspell.pp +++ b/packages/aspell/src/aspell.pp @@ -418,7 +418,7 @@ uses * NULL and token.size will be 0 } // internal hacky version to go around a bug regarding struct results/cdecl - function __aspell_document_checker_next_misspelling(ths:PAspellDocumentChecker):QWord;cdecl;external libaspell name 'aspell_document_checker_next_misspelling'; + function __aspell_document_checker_next_misspelling(ths:PAspellDocumentChecker):{$IFDEF CPU64}{$IFDEF LINUX}QWord{$ELSE}AspellToken{$ENDIF}{$ELSE}AspellToken{$ENDIF};cdecl;external libaspell name 'aspell_document_checker_next_misspelling'; { Returns the underlying filter class. } @@ -824,7 +824,7 @@ var * NULL and token.size will be 0 } // hack around struct/cdecl problem - __aspell_document_checker_next_misspelling: function(ths:PAspellDocumentChecker):QWord;cdecl; + __aspell_document_checker_next_misspelling: function(ths:PAspellDocumentChecker):{$IFDEF CPU64}{$IFDEF LINUX}QWord{$ELSE}AspellToken{$ENDIF}{$ELSE}AspellToken{$ENDIF};cdecl; { Returns the underlying filter class. } |
