[openbeos] Re: newsletter (syslog)

  • From: "François Revol" <revol@xxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Mon, 15 Dec 2003 17:27:37 +0100 CET

> The header file syslog.h has been moved to the headers/posix 
> directory, where all other POSIX headers reside. If you've 
> previously used the full path of the old header ("#include 
> <support/syslog.h>"), you might encounter errors when trying 
> to compile your old code. The issue has not been finally 
> decided on, but it probably won't change in the release version 
> of our headers.

What about

#ifndef _SUPPORT_SYSLOG_H
#define _SUPPORT_SYSLOG_H

#warn You should use syslog.h from posix/!!!

#include <posix/syslog.h>

#endif


(taken that posix/ appears first in the C_INCLUDE_PATH)
?

Other related posts: