apriconv.pas 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. apriconv.pas
  3. Copyright (C) 2006 Felipe Monteiro de Carvalho
  4. This unit is a pascal binding for the Apache 2.0.58 headers.
  5. The headers were released under the following copyright:
  6. }
  7. { Copyright 2000-2005 The Apache Software Foundation or its licensors, as
  8. * applicable.
  9. *
  10. * Licensed under the Apache License, Version 2.0 (the "License");
  11. * you may not use this file except in compliance with the License.
  12. * You may obtain a copy of the License at
  13. *
  14. * http://www.apache.org/licenses/LICENSE-2.0
  15. *
  16. * Unless required by applicable law or agreed to in writing, software
  17. * distributed under the License is distributed on an "AS IS" BASIS,
  18. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  19. * See the License for the specific language governing permissions and
  20. * limitations under the License.
  21. }
  22. unit apriconv;
  23. interface
  24. {$ifdef fpc}
  25. {$mode delphi}{$H+}
  26. {$endif}
  27. {$IFNDEF FPC}
  28. {$DEFINE WINDOWS}
  29. {$ENDIF}
  30. {$IFDEF WIN32}
  31. {$DEFINE WINDOWS}
  32. {$ENDIF}
  33. {$ifdef Unix}
  34. {$PACKRECORDS C}
  35. {$endif}
  36. uses apr;
  37. const
  38. {$IFDEF WINDOWS}
  39. LibAPRIconv = 'libapriconv.dll';
  40. {$ELSE}
  41. LibAPRIconv = '';
  42. {$ENDIF}
  43. {$include apr_iconv.inc}
  44. {$include api_version.inc}
  45. implementation
  46. end.