host-darwin.h 1.1 KB

12345678910111213141516171819202122232425262728
  1. /* Darwin host-specific hook definitions.
  2. Copyright (C) 2003-2015 Free Software Foundation, Inc.
  3. This file is part of GCC.
  4. GCC is free software; you can redistribute it and/or modify it
  5. under the terms of the GNU General Public License as published
  6. by the Free Software Foundation; either version 3, or (at your
  7. option) any later version.
  8. GCC is distributed in the hope that it will be useful, but WITHOUT
  9. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  10. or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
  11. License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with GCC; see the file COPYING3. If not see
  14. <http://www.gnu.org/licenses/>. */
  15. extern void * darwin_gt_pch_get_address (size_t sz, int fd);
  16. extern int darwin_gt_pch_use_address (void *addr, size_t sz, int fd,
  17. size_t off);
  18. #undef HOST_HOOKS_GT_PCH_GET_ADDRESS
  19. #define HOST_HOOKS_GT_PCH_GET_ADDRESS darwin_gt_pch_get_address
  20. #undef HOST_HOOKS_GT_PCH_USE_ADDRESS
  21. #define HOST_HOOKS_GT_PCH_USE_ADDRESS darwin_gt_pch_use_address