Fix RTEMS ifdef labelling.

This commit is contained in:
Chris Johns
2015-06-19 15:32:13 +10:00
parent 54409c7f6e
commit c31922b8c4
2 changed files with 12 additions and 12 deletions

View File

@@ -433,11 +433,11 @@ pcap_compile(pcap_t *p, struct bpf_program *program,
const char *buf, int optimize, bpf_u_int32 mask)
#endif /* WIN32 */
{
#if __rtems__
#ifdef __rtems__
int n_errors;
#else
extern int n_errors;
#endif
#endif /* __rtems__ */
const char * volatile xbuf = buf;
u_int len;