776
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Mon, 26 Dec 2022 16:21:23 +0000 (16:21 +0000)
committerMo Zhou <lumin@debian.org>
Mon, 26 Dec 2022 16:21:23 +0000 (16:21 +0000)
https://github.com/oneapi-src/oneTBB/issues/776

Gbp-Pq: Name 776.diff

src/tbb/tools_api/ittnotify_config.h

index 411de0852484e0156cdc0e5fcb8feeb71ebe10a9..86018f01d2f4fa248d77820b97c4675ddc0b9459 100644 (file)
 #  define ITT_ARCH_HPPA  9
 #endif /* ITT_ARCH_HPPA */
 
+#ifndef ITT_ARCH_GENERIC
+#  define ITT_ARCH_GENERIC 99
+#endif /* ITT_ARCH_GENERIC */
+
 #ifndef ITT_ARCH
 #  if defined _M_IX86 || defined __i386__
 #    define ITT_ARCH ITT_ARCH_IA32
 #    define ITT_ARCH ITT_ARCH_S390X
 #  elif defined __hppa__
 #    define ITT_ARCH ITT_ARCH_HPPA
+#  else
+#    define ITT_ARCH ITT_ARCH_GENERIC
 #  endif
 #endif