On 08/04/2009, mt...@apache.org <mt...@apache.org> wrote: > Author: mturk > Date: Wed Apr 8 11:48:56 2009 > New Revision: 763196 > > URL: http://svn.apache.org/viewvc?rev=763196&view=rev > Log: > Use APR late dll macros and extend them with defalt return value > > Modified: > > commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h > > Modified: > commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h > URL: > http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h?rev=763196&r1=763195&r2=763196&view=diff > > ============================================================================== > --- > commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h > (original) > +++ > commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h > Wed Apr 8 11:48:56 2009 > @@ -48,12 +48,14 @@ > JNIEXPORT RT JNICALL > Java_org_apache_commons_runtime_platform_windows_##CL##_##FN > > typedef enum { > - SYSDLL_KERNEL32 = 0, // kernel32 From WinBase.h > - SYSDLL_NTDLL = 1, // ntdll From our real kernel > - SYSDLL_USER32 = 2, // user32 From WinUser.h > - SYSDLL_IPHLPAPI = 3, // iphlpapi From Iphlpapi.h > - SYSDLL_JVM = 4, // jvm From our own jvm.dll > - SYSDLL_defined = 5 // must define as last idx_ + 1 > + SYSDLL_KERNEL32 = 0, // kernel32 From WinBase.h > + SYSDLL_NTDLL = 1, // ntdll From our real kernel > + SYSDLL_USER32 = 2, // user32 From WinUser.h > + SYSDLL_IPHLPAPI = 3, // iphlpapi From Iphlpapi.h > + SYSDLL_WINSOCKAPI = 4, // mswsock From WinSock.h > + SYSDLL_WINSOCK2API = 5, // ws2_32 From WinSock2.h > + SYSDLL_JVM = 6, // jvm From our own jvm.dll > + SYSDLL_defined = 6 // must define as last idx_ + 1
Shouldn't that be 7 then? Or does the JVM value not count? --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org