Procházet zdrojové kódy

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

Mike Frysinger před 19 roky
rodič
revize
28f3c7c913
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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