Просмотр исходного кода

* remove old cdecl record hack, fixes linker errors with aspell on mac os x

git-svn-id: trunk@23397 -
Almindor 12 лет назад
Родитель
Сommit
235bda8746
1 измененных файлов с 1 добавлено и 9 удалено
  1. 1 9
      packages/aspell/src/aspell.pp

+ 1 - 9
packages/aspell/src/aspell.pp

@@ -279,7 +279,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):{$IFDEF CPU64}{$IFDEF LINUX}QWord{$ELSE}AspellToken{$ENDIF}{$ELSE}AspellToken{$ENDIF};cdecl;external libaspell name 'aspell_document_checker_next_misspelling';
+    function aspell_document_checker_next_misspelling(ths:PAspellDocumentChecker):AspellToken;cdecl;external libaspell name 'aspell_document_checker_next_misspelling';
 
     { Returns the underlying filter class.  }
 
@@ -433,7 +433,6 @@ uses
     
   function aspell_init(const libn: ansistring): Boolean;
   function aspell_loaded: Boolean;
-  function aspell_document_checker_next_misspelling(ths:PAspellDocumentChecker):AspellToken;
 
 implementation
 
@@ -447,11 +446,4 @@ begin
   aspell_loaded := True;
 end;
 
-function aspell_document_checker_next_misspelling(ths: PAspellDocumentChecker
-  ): AspellToken;
-begin
-  // yup...
-  aspell_document_checker_next_misspelling := AspellToken(__aspell_document_checker_next_misspelling(ths));
-end;
-
 end.