1
0
mirror of https://github.com/golang/go synced 2024-11-24 23:07:56 -07:00

build: remove unnecessary pragmas

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5629055
This commit is contained in:
Anthony Martin 2012-02-06 12:45:23 -05:00 committed by Russ Cox
parent 39611ec880
commit 7ac03695f8
4 changed files with 0 additions and 9 deletions

View File

@ -10,9 +10,6 @@ enum
Runemax = 0x10FFFF, /* maximum rune value */ Runemax = 0x10FFFF, /* maximum rune value */
}; };
#pragma src "/sys/src/go/src/lib9"
#pragma lib "/sys/src/go/lib/$M/lib9.a"
char* getgoos(void); char* getgoos(void);
char* getgoarch(void); char* getgoarch(void);
char* getgoroot(void); char* getgoroot(void);

View File

@ -2,6 +2,4 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
#pragma src "/sys/src/go/src/libmach"
#pragma lib "/sys/src/go/lib/$M/libmach.a"
#include "../mach.h" #include "../mach.h"

View File

@ -31,8 +31,6 @@
#include <libc.h> #include <libc.h>
#include <bio.h> #include <bio.h>
#pragma lib "../cc/cc.a$O"
#ifndef EXTERN #ifndef EXTERN
#define EXTERN extern #define EXTERN extern
#endif #endif

View File

@ -4,8 +4,6 @@
#include <bio.h> #include <bio.h>
#pragma lib "../gc/gc.a$O"
#undef OAPPEND #undef OAPPEND
// avoid <ctype.h> // avoid <ctype.h>