JACK API headers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.5KB

  1. /*
  2. Copyright (C) 2004 Jack O'Quin
  3. This program is free software; you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License as published by
  5. the Free Software Foundation; either version 2 of the License, or
  6. (at your option) any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program; if not, write to the Free Software
  13. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  14. */
  15. #ifndef __jack_atomicity_h__
  16. #define __jack_atomicity_h__
  17. /*
  18. * Interface with various machine-dependent headers derived from the
  19. * gcc/libstdc++.v3 sources. We try to modify the GCC sources as
  20. * little as possible. The following include is resolved using the
  21. * config/configure.hosts mechanism. It will use an OS-dependent
  22. * version if available, otherwise the one for this CPU. Some of
  23. * these files might not work with older GCC compilers.
  24. */
  25. #include <sysdeps/atomicity.h>
  26. /* These functions are defined for each platform. The C++ library
  27. * function names start with "__" to avoid namespace pollution. */
  28. #define exchange_and_add __exchange_and_add
  29. #define atomic_add __atomic_add
  30. #endif /* __jack_atomicity_h__ */