jack1 codebase
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.

25 lines
499B

  1. #ifndef _jack_sysdep_atomicity_h_
  2. #define _jack_sysdep_atomicity_h_
  3. #if defined(__i386__)
  4. #include <config/cpu/i386/atomicity.h>
  5. #elif defined(__x86_64)
  6. /* x86_64 can use rdtsc just like i[456]86 */
  7. #include <config/cpu/i386/atomicity.h>
  8. #elif defined(__powerpc__) || defined(__ppc__) /* linux and OSX use different tokens */
  9. #include <config/cpu/powerpc/atomicity.h>
  10. #else
  11. #include <config/cpu/generic/atomicity.h>
  12. #endif /* processor selection */
  13. #endif /* _jack_sysdep_atomicity_h_ */