Explorar el Código

drive home the point people should not be using _syscall#() macros

Mike Frysinger hace 19 años
padre
commit
28f3c7c913
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      Makefile.in

+ 2 - 0
Makefile.in

@@ -116,6 +116,8 @@ 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
 	$(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