@@ -190,6 +190,11 @@ public final class PosixConstants {
190190 public static final MandatoryIntConstant RTLD_NOW ;
191191 public static final MandatoryIntConstant RTLD_GLOBAL ;
192192 public static final MandatoryIntConstant RTLD_LOCAL ;
193+ public static final OptionalIntConstant LOAD_LIBRARY_SEARCH_DEFAULT_DIRS ;
194+ public static final OptionalIntConstant LOAD_LIBRARY_SEARCH_APPLICATION_DIR ;
195+ public static final OptionalIntConstant LOAD_LIBRARY_SEARCH_SYSTEM32 ;
196+ public static final OptionalIntConstant LOAD_LIBRARY_SEARCH_USER_DIRS ;
197+ public static final OptionalIntConstant LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR ;
193198 public static final MandatoryIntConstant AF_UNSPEC ;
194199 public static final MandatoryIntConstant AF_INET ;
195200 public static final MandatoryIntConstant AF_INET6 ;
@@ -377,6 +382,7 @@ public final class PosixConstants {
377382 public static final IntConstant [] accessMode ;
378383 public static final IntConstant [] exitStatus ;
379384 public static final IntConstant [] rtld ;
385+ public static final IntConstant [] winapiLoadLibraryFlags ;
380386 public static final IntConstant [] socketFamily ;
381387 public static final IntConstant [] socketType ;
382388 public static final IntConstant [] ip4Address ;
@@ -506,6 +512,11 @@ public final class PosixConstants {
506512 RTLD_NOW = reg .createMandatoryInt ("RTLD_NOW" );
507513 RTLD_GLOBAL = reg .createMandatoryInt ("RTLD_GLOBAL" );
508514 RTLD_LOCAL = reg .createMandatoryInt ("RTLD_LOCAL" );
515+ LOAD_LIBRARY_SEARCH_DEFAULT_DIRS = reg .createOptionalInt ("LOAD_LIBRARY_SEARCH_DEFAULT_DIRS" );
516+ LOAD_LIBRARY_SEARCH_APPLICATION_DIR = reg .createOptionalInt ("LOAD_LIBRARY_SEARCH_APPLICATION_DIR" );
517+ LOAD_LIBRARY_SEARCH_SYSTEM32 = reg .createOptionalInt ("LOAD_LIBRARY_SEARCH_SYSTEM32" );
518+ LOAD_LIBRARY_SEARCH_USER_DIRS = reg .createOptionalInt ("LOAD_LIBRARY_SEARCH_USER_DIRS" );
519+ LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR = reg .createOptionalInt ("LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR" );
509520 AF_UNSPEC = reg .createMandatoryInt ("AF_UNSPEC" );
510521 AF_INET = reg .createMandatoryInt ("AF_INET" );
511522 AF_INET6 = reg .createMandatoryInt ("AF_INET6" );
@@ -695,6 +706,8 @@ public final class PosixConstants {
695706 exitStatus = new IntConstant []{EX_OK , EX_USAGE , EX_DATAERR , EX_NOINPUT , EX_NOUSER , EX_NOHOST , EX_UNAVAILABLE , EX_SOFTWARE , EX_OSERR , EX_OSFILE , EX_CANTCREAT , EX_IOERR , EX_TEMPFAIL ,
696707 EX_PROTOCOL , EX_NOPERM , EX_CONFIG , EX_NOTFOUND };
697708 rtld = new IntConstant []{RTLD_LAZY , RTLD_NOW , RTLD_GLOBAL , RTLD_LOCAL };
709+ winapiLoadLibraryFlags = new IntConstant []{LOAD_LIBRARY_SEARCH_DEFAULT_DIRS , LOAD_LIBRARY_SEARCH_APPLICATION_DIR , LOAD_LIBRARY_SEARCH_SYSTEM32 , LOAD_LIBRARY_SEARCH_USER_DIRS ,
710+ LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR };
698711 socketFamily = new IntConstant []{AF_UNSPEC , AF_INET , AF_INET6 , AF_PACKET , AF_UNIX };
699712 socketType = new IntConstant []{SOCK_DGRAM , SOCK_STREAM };
700713 ip4Address = new IntConstant []{INADDR_ANY , INADDR_BROADCAST , INADDR_NONE , INADDR_LOOPBACK , INADDR_ALLHOSTS_GROUP , INADDR_MAX_LOCAL_GROUP , INADDR_UNSPEC_GROUP };
0 commit comments