diff options
author | Roel Spilker <r.spilker@gmail.com> | 2009-07-24 00:23:08 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2009-07-24 00:23:08 +0200 |
commit | 437d8965e1879a10604f8b7e9e369198973229c1 (patch) | |
tree | 68c587bdf01748dc032b18b7c0c05fde14e0b16b /winsrc | |
parent | 5835344277d10d069d792c59d67e41313d589d68 (diff) | |
download | lombok-437d8965e1879a10604f8b7e9e369198973229c1.tar.gz lombok-437d8965e1879a10604f8b7e9e369198973229c1.tar.bz2 lombok-437d8965e1879a10604f8b7e9e369198973229c1.zip |
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.
Diffstat (limited to 'winsrc')
-rw-r--r-- | winsrc/.gitignore | 2 | ||||
-rw-r--r-- | winsrc/lombok_installer_WindowsDriveInfo.c | 23 |
2 files changed, 24 insertions, 1 deletions
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 <jni.h> #include <windows.h> #include <stdio.h> |