From 6120ea61bf34161dcce511198c0ef319d5de689c Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Mon, 24 May 2010 00:14:00 +0000
Subject: [PATCH] Change PLATFORM_DESC to "Linux64" for Linux-x86_64 (x64)
 builds. This will also change the JavaScript system.platform value for
 Linux64 systems.

---
 src/xpdev/genwrap.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/xpdev/genwrap.h b/src/xpdev/genwrap.h
index 4689119fc3..1b787facaa 100644
--- a/src/xpdev/genwrap.h
+++ b/src/xpdev/genwrap.h
@@ -131,6 +131,8 @@ extern "C" {
 	#define PLATFORM_DESC	"OS/2"
 #elif defined(__MSDOS__)
 	#define PLATFORM_DESC	"DOS"
+#elif defined(__linux__) && defined(__LP64__)
+	#define PLATFORM_DESC	"Linux64"
 #elif defined(__linux__)
 	#define PLATFORM_DESC	"Linux"
 #elif defined(__FreeBSD__)
-- 
GitLab