Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
unix: remove src/unix/cygwin.c
Browse files Browse the repository at this point in the history
The cygwin build has been broken for a long time now and no one is
complaining, which strongly suggests that no one actually uses it.
Remove it.
  • Loading branch information
bnoordhuis committed Apr 18, 2013
1 parent 79f9629 commit 7f8130a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 97 deletions.
7 changes: 0 additions & 7 deletions config-unix.mk
Expand Up @@ -134,13 +134,6 @@ OBJS += src/unix/openbsd.o
OBJS += src/unix/kqueue.o
endif

ifneq (,$(findstring cygwin,$(PLATFORM)))
# We drop the --std=c89, it hides CLOCK_MONOTONIC on cygwin
CSTDFLAG = -D_GNU_SOURCE
LDFLAGS+=
OBJS += src/unix/cygwin.o
endif

ifeq (sunos,$(PLATFORM))
RUNNER_LDFLAGS += -pthreads
else
Expand Down
4 changes: 2 additions & 2 deletions include/uv.h
Expand Up @@ -1755,9 +1755,9 @@ UV_EXTERN int uv_signal_stop(uv_signal_t* handle);


/*
* Gets load avg
* Gets load average.
* See: http://en.wikipedia.org/wiki/Load_(computing)
* (Returns [0,0,0] for windows and cygwin)
* Returns [0,0,0] on Windows.
*/
UV_EXTERN void uv_loadavg(double avg[3]);

Expand Down
88 changes: 0 additions & 88 deletions src/unix/cygwin.c

This file was deleted.

0 comments on commit 7f8130a

Please sign in to comment.