Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
47e6674f
Commit
47e6674f
authored
Mar 29, 2003
by
sof
Browse files
[project @ 2003-03-29 00:00:41 by sof]
win32 tidyup: exclude Select.c, Itimer.c and Signals.c from SRCS
parent
f1e346a7
Changes
6
Hide whitespace changes
Inline
Side-by-side
ghc/rts/Itimer.c
View file @
47e6674f
/* -----------------------------------------------------------------------------
* $Id: Itimer.c,v 1.3
3
2003/03/2
8 23:46:39
sof Exp $
* $Id: Itimer.c,v 1.3
4
2003/03/2
9 00:00:41
sof Exp $
*
* (c) The GHC Team, 1995-1999
*
...
...
@@ -18,7 +18,6 @@
* to support. So much for standards.
*/
#include "Rts.h"
#if !defined(mingw32_TARGET_OS)
/* to the end */
#include "RtsFlags.h"
#include "Timer.h"
#include "Itimer.h"
...
...
@@ -173,4 +172,3 @@ getourtimeofday(void)
tv
.
tv_usec
*
TICK_FREQUENCY
/
1000000
);
}
#endif
/* !mingw32_TARGET_OS */
ghc/rts/Makefile
View file @
47e6674f
...
...
@@ -38,6 +38,7 @@ ALL_DIRS = hooks parallel
ifeq
"$(HOSTPLATFORM)" "i386-unknown-mingw32"
ALL_DIRS
+=
win32
EXCLUDED_SRCS
+=
Itimer.c Select.c Signals.c
endif
ifneq
"$(DLLized)" "YES"
...
...
ghc/rts/Select.c
View file @
47e6674f
/* -----------------------------------------------------------------------------
* $Id: Select.c,v 1.2
6
2003/0
2
/2
2
0
6:13
:41 sof Exp $
* $Id: Select.c,v 1.2
7
2003/0
3
/2
9
0
0:00
:41 sof Exp $
*
* (c) The GHC Team 1995-2002
*
...
...
@@ -12,9 +12,6 @@
/* #include "PosixSource.h" */
#include "Rts.h"
#ifndef mingw32_TARGET_OS
/* to the end */
#include "Schedule.h"
#include "RtsUtils.h"
#include "RtsFlags.h"
...
...
@@ -349,5 +346,3 @@ wakeBlockedWorkerThread()
}
}
#endif
#endif
/* !mingw_TARGET_OS */
ghc/rts/Signals.c
View file @
47e6674f
/* -----------------------------------------------------------------------------
* $Id: Signals.c,v 1.3
5
2003/03/2
5 17:15:07
sof Exp $
* $Id: Signals.c,v 1.3
6
2003/03/2
9 00:00:41
sof Exp $
*
* (c) The GHC Team, 1998-1999
*
...
...
@@ -32,8 +32,6 @@
#include <stdlib.h>
#ifndef mingw32_TARGET_OS
#ifndef PAR
/* SUP: The type of handlers is a little bit, well, doubtful... */
...
...
@@ -469,18 +467,3 @@ initDefaultHandlers()
ieee_set_fp_control
(
0
);
#endif
}
#else
/* mingw32_TARGET_OS */
// Handle all signals in the current thread.
// Called from Capability.c whenever the main capability is granted to a thread
// and in installDefaultHandlers
void
handleSignalsInThisThread
()
{
#ifdef RTS_SUPPORTS_THREADS
#error "handleSignalsInThread needs to be sorted out for MinGW32"
/* signalHandlingThread = pthread_self();*/
#endif
}
#endif
/* mingw32_TARGET_OS */
ghc/rts/Signals.h
View file @
47e6674f
/* -----------------------------------------------------------------------------
* $Id: Signals.h,v 1.
9
2003/0
1
/2
5 15:54:50 wolfgang
Exp $
* $Id: Signals.h,v 1.
10
2003/0
3
/2
9 00:00:43 sof
Exp $
*
* (c) The GHC Team, 1998-1999
*
...
...
@@ -27,7 +27,11 @@ extern void startSignalHandlers(void);
extern
void
markSignalHandlers
(
evac_fn
evac
);
extern
void
initDefaultHandlers
(
void
);
#if !defined(mingw32_TARGET_OS)
extern
void
handleSignalsInThisThread
(
void
);
#else
#define handleSignalsInThisThread()
/* nothing */
#endif
#else
...
...
ghc/rts/Timer.c
View file @
47e6674f
...
...
@@ -20,7 +20,7 @@
#include "Schedule.h"
#include "Timer.h"
#if
n
def
mingw32_TARGET_OS
#if
!
def
ined(
mingw32_TARGET_OS
)
#include "Itimer.h"
#else
#include "win32/Ticker.h"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment