From 437d8965e1879a10604f8b7e9e369198973229c1 Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Fri, 24 Jul 2009 00:23:08 +0200 Subject: Added WindowsDriveInfo support for 64-bit JVMs on windows. We think. Honestly, we haven't tested it! Also updated instructions on how to build the 64-bit version of the JVM, and generalized some of the loading aspects of the DLL, as we now need to potentially try 2 of them. --- winsrc/.gitignore | 2 ++ winsrc/lombok_installer_WindowsDriveInfo.c | 23 ++++++++++++++++++++++- 2 files changed, 24 insertions(+), 1 deletion(-) (limited to 'winsrc') diff --git a/winsrc/.gitignore b/winsrc/.gitignore index 7d929cba..3bf43ac3 100644 --- a/winsrc/.gitignore +++ b/winsrc/.gitignore @@ -1,2 +1,4 @@ lombok_installer_WindowsDriveInfo.o WindowsDriveInfo.dll +WindowsDriveInfo-x86_64.dll +WindowsDriveInfo-i386.dll diff --git a/winsrc/lombok_installer_WindowsDriveInfo.c b/winsrc/lombok_installer_WindowsDriveInfo.c index 5bccd047..dd08706a 100644 --- a/winsrc/lombok_installer_WindowsDriveInfo.c +++ b/winsrc/lombok_installer_WindowsDriveInfo.c @@ -1,4 +1,25 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ +/* + * Copyright © 2009 Reinier Zwitserloot and Roel Spilker. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + #include #include #include -- cgit