Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Move private headers into include/uv-private

  • Loading branch information...
commit b47c474cfd62eaf0030e069c160b363a2cb8ec2a 1 parent 1408ac4
@ry ry authored
View
2  Makefile
@@ -24,7 +24,7 @@ ifdef MSVC
uname_S := MINGW
endif
-CPPFLAGS += -Iinclude
+CPPFLAGS += -Iinclude -Iinclude/uv-private
CARES_OBJS =
CARES_OBJS += src/ares/ares__close_sockets.o
View
8 config-unix.mk
@@ -89,16 +89,16 @@ uv.a: src/uv-unix.o src/unix/fs.o src/uv-common.o src/uv-platform.o src/unix/ev/
$(AR) rcs uv.a src/uv-unix.o src/unix/fs.o src/uv-platform.o src/uv-common.o src/unix/uv-eio.o src/unix/ev/ev.o \
src/unix/eio/eio.o $(CARES_OBJS)
-src/uv-platform.o: src/unix/$(UV_OS_FILE) include/uv.h include/uv-unix.h
+src/uv-platform.o: src/unix/$(UV_OS_FILE) include/uv.h include/uv-private/uv-unix.h
$(CC) $(CSTDFLAG) $(CPPFLAGS) $(CFLAGS) -c src/unix/$(UV_OS_FILE) -o src/uv-platform.o
-src/uv-unix.o: src/uv-unix.c include/uv.h include/uv-unix.h src/unix/internal.h
+src/uv-unix.o: src/uv-unix.c include/uv.h include/uv-private/uv-unix.h src/unix/internal.h
$(CC) $(CSTDFLAG) $(CPPFLAGS) -Isrc $(CFLAGS) -c src/uv-unix.c -o src/uv-unix.o
-src/unix/fs.o: src/unix/fs.c include/uv.h include/uv-unix.h src/unix/internal.h
+src/unix/fs.o: src/unix/fs.c include/uv.h include/uv-private/uv-unix.h src/unix/internal.h
$(CC) $(CSTDFLAG) $(CPPFLAGS) -Isrc/ $(CFLAGS) -c src/unix/fs.c -o src/unix/fs.o
-src/uv-common.o: src/uv-common.c include/uv.h include/uv-unix.h
+src/uv-common.o: src/uv-common.c include/uv.h include/uv-private/uv-unix.h
$(CC) $(CSTDFLAG) $(CPPFLAGS) $(CFLAGS) -c src/uv-common.c -o src/uv-common.o
src/unix/ev/ev.o: src/unix/ev/ev.c
View
0  include/eio.h → include/uv-private/eio.h
File renamed without changes
View
0  include/ev.h → include/uv-private/ev.h
File renamed without changes
View
0  include/ngx-queue.h → include/uv-private/ngx-queue.h
File renamed without changes
View
0  include/tree.h → include/uv-private/tree.h
File renamed without changes
View
0  include/uv-unix.h → include/uv-private/uv-unix.h
File renamed without changes
View
0  include/uv-win.h → include/uv-private/uv-win.h
File renamed without changes
View
4 include/uv.h
@@ -67,9 +67,9 @@ typedef struct uv_fs_s uv_fs_t;
typedef struct uv_work_s uv_work_t;
#if defined(__unix__) || defined(__POSIX__) || defined(__APPLE__)
-# include "uv-unix.h"
+# include "uv-private/uv-unix.h"
#else
-# include "uv-win.h"
+# include "uv-private/uv-win.h"
#endif
View
13 uv.gyp
@@ -5,6 +5,7 @@
'type': '<(library)',
'include_dirs': [
'include',
+ 'include/uv-private',
'src/',
],
'direct_dependent_settings': {
@@ -94,8 +95,8 @@
'_GNU_SOURCE',
],
'sources': [
- 'include/tree.h',
- 'include/uv-win.h',
+ 'include/uv-private/tree.h',
+ 'include/uv-private/uv-win.h',
'src/ares/config_win32/ares_config.h',
'src/win/async.c',
'src/win/cares.c',
@@ -136,10 +137,10 @@
'-Wno-unused-parameter'
],
'sources': [
- 'include/eio.h',
- 'include/ev.h',
- 'include/ngx-queue.h',
- 'include/uv-unix.h',
+ 'include/uv-private/eio.h',
+ 'include/uv-private/ev.h',
+ 'include/uv-private/ngx-queue.h',
+ 'include/uv-private/uv-unix.h',
'src/uv-unix.c',
'src/unix/uv-eio.c',
'src/unix/uv-eio.h',
Please sign in to comment.
Something went wrong with that request. Please try again.