diff options
author | rpj <rpj> | 2000-08-22 08:28:24 +0000 |
---|---|---|
committer | rpj <rpj> | 2000-08-22 08:28:24 +0000 |
commit | c1f7196a3b1d069248c8155e593b53ae44b24c62 (patch) | |
tree | 25b71b1a32d41fff86b10ac9a742b2a0c2dc2e22 /private.c | |
parent | a994c398ae783efcae0d437b707654380f4dde03 (diff) |
2000-08-22 Ross Johnson <rpj@setup1.ise.canberra.edu.au>
* private.c (ptw32_throw): Fix exception test;
move exceptionInformation declaration.
* tsd.c (pthread_key_create): newkey wrongly declared.
* pthread.h: Fix comment block.
Diffstat (limited to 'private.c')
-rw-r--r-- | private.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -824,7 +824,13 @@ ptw32_get_exception_services_code(void) void ptw32_throw(DWORD exception) { - if (exception != PTW32_EPS_CANCEL || +#if defined(_MSC_VER) && !defined(__cplusplus) + + DWORD exceptionInformation[3]; + +#endif + + if (exception != PTW32_EPS_CANCEL && exception != PTW32_EPS_EXIT) { /* Should never enter here */ @@ -833,8 +839,6 @@ ptw32_throw(DWORD exception) #if defined(_MSC_VER) && !defined(__cplusplus) - DWORD exceptionInformation[3]; - exceptionInformation[0] = (DWORD) (exception); exceptionInformation[1] = (DWORD) (0); exceptionInformation[2] = (DWORD) (0); |