Split __wasm__ into __wasm32__ and __wasm64__

We don't currently test either on our CI, but get it a little closer to
correct. __wasm32__ seems to have been around in LLVM since the
beginning so this is hopefully safe.

Fixed: 485092799
Change-Id: I7ab59b2973bce428265d714c6f486edaad8b68f1
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/89509
Auto-Submit: David Benjamin <davidben@google.com>
Reviewed-by: Lily Chen <chlily@google.com>
Commit-Queue: Lily Chen <chlily@google.com>
diff --git a/include/openssl/target.h b/include/openssl/target.h
index 8d4763d..2c03389 100644
--- a/include/openssl/target.h
+++ b/include/openssl/target.h
@@ -48,8 +48,10 @@
 #elif defined(__pnacl__)
 #define OPENSSL_32_BIT
 #define OPENSSL_PNACL
-#elif defined(__wasm__)
+#elif defined(__wasm32__)
 #define OPENSSL_32_BIT
+#elif defined(__wasm64__)
+#define OPENSSL_64_BIT
 #elif defined(__asmjs__)
 #define OPENSSL_32_BIT
 #elif defined(__myriad2__)