Commit Graph

72 Commits

Author SHA1 Message Date
Alexandre Julliard f0cd33c69e include: Add support for defining Win32 types as 'long' where possible.
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Alexandre Julliard 088a787a2c makefiles: Make -mno-cygwin the default.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Alexandre Julliard b783f1db70 snmpapi: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-26 11:40:42 +01:00
Alexandre Julliard 48a4635390 snmpapi: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-21 08:48:25 +02:00
Michael Stefaniuc a49b28cc77 snmpapi/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-31 09:25:06 +02:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Michael Stefaniuc 2e1708dc1b tests: Readying some tests for the compilation with -D__WINESRC__. 2013-10-02 11:03:26 +02:00
Alexandre Julliard f02cdd877f Remove empty DLL_PROCESS_DETACH case statements. 2013-04-15 16:45:35 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Juan Lang b7f753a826 snmpapi: Add stub for SnmpSvcGetUptime. 2009-12-08 12:59:54 +01:00
Paul Vriens 2cde604211 snmpapi/tests: Fix a crash on some 64bit systems. 2009-11-24 15:53:37 +01:00
Francois Gouget 96848a0605 Remove spaces before '\n's. 2009-03-09 12:05:58 +01:00
Francois Gouget 392b8cc689 snmpapi/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-25 12:49:50 +01:00
Juan Lang dd75176d34 snmpapi: Relax tests to fix some failures.
The tests were overly restrictive.  The functions are supposed to
return values less than 0, 0, or greater than 0, whereas the tests
restricted the return values to -1, 0, or 1.  Using less than
0/greater than 0 comparisons rather than == -1 or == 1 should fix a
few failing tests, and match the API descriptions better.
2009-02-16 11:48:04 +01:00
Paul Vriens ad8efd9340 snmpapi/tests: Fix failures on NT4 and below. 2008-11-12 13:11:04 +01:00
Hans Leidekker b72d636062 snmpapi: Fix a memory leak in the test. 2008-07-21 12:21:14 +02:00
Alistair Leslie-Hughes 294573a594 snmpapi: Correct snmpapi tests under win98. 2008-06-04 12:31:45 +02:00
Juan Lang 3108e3605c snmpapi: Test and correct SnmpUtilOidNCmp when count is less than Oid length. 2008-05-19 20:20:11 +02:00
Juan Lang a96e118ddb snmpapi: Test and correct SnmpUtilOidNCmp when Oid lengths don't match. 2008-05-19 20:20:08 +02:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Hans Leidekker 42aa4e46b6 snmpapi: Make a test pass on Vista. 2007-11-12 11:40:55 +01:00
Andrew Talbot 9a177b6407 snmpapi: Constify a variable. 2007-11-07 12:06:41 +01:00
Hans Leidekker a5fba22a79 snmpapi: Fix memory allocation in SnmpUtilVarBindListCpy. 2007-10-29 12:03:02 +01:00
Paul Vriens 47c5c590f5 snmpapi/tests: Be more verbose on missing functions. 2007-08-10 16:19:07 +02:00
Paul Vriens 5aeb63eb45 snmpapi/tests: Run tests again on win98 and NT4. 2007-08-09 13:53:07 +02:00
Michael Stefaniuc 684d72f257 snmpapi: Fix printf format warnings. 2007-03-06 21:59:48 +01:00
Mike Schaadt 26390a47c7 snmpapi: Changed %llu to %x%08lx. 2007-03-06 12:10:24 +01:00
Hans Leidekker 4270d13b18 snmpapi: Add a missing memcpy. 2007-02-19 12:40:24 +01:00
Alexandre Julliard be570f4655 snmpapi: Fix printf format warnings in tests. 2007-01-26 13:07:05 +01:00
Francois Gouget 6f734ac7b9 snmpapi: Fix the winapi_check warnings. 2007-01-26 12:55:56 +01:00
Francois Gouget 9f02f9e1fd snmpapi: Add a missing '\n' trace. 2007-01-25 11:05:15 +01:00
Francois Gouget 618be0874a snmpapi: SnmpUtilDbgPrint() is a vararg and not an stdcall function. 2007-01-25 11:05:11 +01:00
Hans Leidekker 318a71fddb snmpapi: Add tests for SnmpUtilVarBind{, List}{Cpy, Free}. Make them pass. 2007-01-23 11:37:46 +01:00
Hans Leidekker 396f6c05d1 snmpapi: Add a bunch of tests. 2007-01-23 11:31:59 +01:00
Hans Leidekker d3e5129135 snmpapi: Implement SnmpUtil{DbgPrint, IdsToA, OidToA, PrintAsnAny, PrintOid}. 2007-01-23 11:27:35 +01:00
Hans Leidekker baaed37d6d snmpapi: Implement SnmpUtilOid{Append, Cmp, NCmp}. Fix SnmpUtilOid{Cpy, Free}. 2007-01-22 12:46:28 +01:00
Hans Leidekker bca85b3da3 snmpapi: Implement SnmpUtilOctets{Cmp,Cpy,Free,NCmp}. 2007-01-22 12:46:16 +01:00
Hans Leidekker 1928c7c4c0 snmpapi: Implement SnmpUtilAsnAny{Cpy,Free}. 2007-01-22 12:45:52 +01:00
Hans Leidekker 339989638d snmpapi: Implement SnmpUtilVarBindList{Cpy,Free}. 2007-01-16 11:19:41 +01:00
Hans Leidekker 661218267a snmpapi: Implement SnmpUtilVarBindCpy. 2007-01-15 13:48:06 +01:00
Hans Leidekker 92cbda0a7d snmpapi: Implement SnmpUtilMem{Alloc,Free,ReAlloc}. 2007-01-15 13:47:54 +01:00
Hans Leidekker 7d89e52ff0 snmpapi: Add some missing APIs to the spec file. 2007-01-15 13:47:40 +01:00
Hans Leidekker f1fc35de38 snmpapi: Implement SnmpUtilOidCpy, SnmpUtilOidFree and SnmpUtilVarBindFree. 2007-01-15 13:02:09 +01:00
Michael Stefaniuc 41dd56cb7f "One liners" printf format warning fixes for the migration of DWORD/LONG/ULONG from long to int. 2006-09-29 16:09:24 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Alexandre Julliard 5258e061dc make_dlls: Ignore generated import libraries from the top-level .gitignore. 2006-07-10 20:55:58 +02:00