r2821: Adding "Windows x64" as architecture string and driverdir "x64" for the
authorGünther Deschner <gd@samba.org>
Mon, 4 Oct 2004 22:13:57 +0000 (22:13 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:53 +0000 (10:52 -0500)
64bit AMD platform.

(This used to be "Windows AMD64" and "AMD64" in one of the release
candidates of SP2 for Windows XP. AMD64 is obviously still supported but
not documented.)

Guenther
(This used to be commit cc5892f0411b8eb5daebe746164a2cf21d3d4c68)

source3/printing/nt_printing.c
source3/registry/reg_printing.c
source3/rpc_server/srv_spoolss_nt.c
source3/rpcclient/cmd_spoolss.c
source3/utils/net_rpc_printer.c

index 993fab1419f8d6d71e27c3105167090bb30c4a6d..81d792463a5dd697912e3889f079203635152dca 100644 (file)
@@ -210,6 +210,7 @@ struct table_node {
 #define SPL_ARCH_W32ALPHA      "W32ALPHA"
 #define SPL_ARCH_W32PPC                "W32PPC"
 #define SPL_ARCH_IA64          "IA64"
+#define SPL_ARCH_X64           "x64"
 
 static const struct table_node archi_table[]= {
 
@@ -219,6 +220,7 @@ static const struct table_node archi_table[]= {
        {"Windows NT Alpha_AXP", SPL_ARCH_W32ALPHA,     2 },
        {"Windows NT PowerPC",   SPL_ARCH_W32PPC,       2 },
        {"Windows IA64",         SPL_ARCH_IA64,         3 },
+       {"Windows x64",          SPL_ARCH_X64,          3 },
        {NULL,                   "",            -1 }
 };
 
index e50a5f4d4fd1fc92ae818afe7c1cab733d86af94..14eb57c6f2a310375d0479a88213682b4c0aad9e 100644 (file)
@@ -90,6 +90,8 @@ static int print_subpath_environments( char *key, REGSUBKEY_CTR *subkeys )
                "Windows NT R4000",
                "Windows NT Alpha_AXP",
                "Windows NT PowerPC",
+               "Windows IA64",
+               "Windows x64",
                NULL };
        fstring *drivers = NULL;
        int i, env_index, num_drivers;
index 5c8a6235b65bb5559664b11c7fa41d369151eac6..fb498e73adae130bd60ff2befab7b686d060db06 100644 (file)
@@ -1995,6 +1995,7 @@ static int get_version_id (char * arch)
                {"Windows NT Alpha_AXP", "W32ALPHA",    2 },
                {"Windows NT PowerPC",   "W32PPC",      2 },
                {"Windows IA64",         "IA64",        3 },
+               {"Windows x64",          "x64",         3 },
                {NULL,                   "",            -1 }
        };
  
index e99cd9f905689cd3f025572e8e578eb4220ca148..a9882d799f8dd6d4b5a3ee4750e13706729050b6 100644 (file)
@@ -40,6 +40,7 @@ static const struct table_node archi_table[]= {
        {"Windows NT Alpha_AXP", "W32ALPHA",    2 },
        {"Windows NT PowerPC",   "W32PPC",      2 },
        {"Windows IA64",         "IA64",        3 },
+       {"Windows x64",          "x64",         3 },
        {NULL,                   "",            -1 }
 };
 
index 51f4df7b05a6f31d8ceaa94f625697476db88e6c..732af254d0d88fe2b718b747da00cf3ad4c40378 100644 (file)
@@ -35,7 +35,8 @@ static const struct table_node archi_table[]= {
        {"Windows NT R4000",     "W32MIPS",     2 },
        {"Windows NT Alpha_AXP", "W32ALPHA",    2 },
        {"Windows NT PowerPC",   "W32PPC",      2 },
-       {"Windows IA64",         "IA64",        3 },
+       {"Windows IA64",         "IA64",        3 },
+       {"Windows x64",          "x64",         3 },
        {NULL,                   "",            -1 }
 };