Browse Source

replace bits/syscalls.h with a comment ... an empty file makes people think this is a bug rather than by design

Mike Frysinger 18 years ago
parent
commit
49c57df050
1 changed files with 1 additions and 2 deletions
  1. 1 2
      Makefile.in

+ 1 - 2
Makefile.in

@@ -116,8 +116,7 @@ install_headers:
 	rm -f tar_exclude
 	printf '#ifndef _LIBC_INTERNAL_H\n#define _LIBC_INTERNAL_H 1\n#endif\n' > \
 		$(PREFIX)$(DEVEL_PREFIX)include/libc-internal.h
-	# Don't export _syscall#() macros anymore; they're not portable
-	echo > $(PREFIX)$(DEVEL_PREFIX)include/bits/syscalls.h
+	echo '/* Dont use _syscall#() macros; use the syscall() function */' > $(PREFIX)$(DEVEL_PREFIX)include/bits/syscalls.h
 	$(RM) $(PREFIX)$(DEVEL_PREFIX)include/dl-osinfo.h
 	$(RM) $(PREFIX)$(DEVEL_PREFIX)include/_lfs_64.h
 	$(RM) $(PREFIX)$(DEVEL_PREFIX)include/bits/uClibc_uintmaxtostr.h