On Jul 15, 3:57 pm, Chris Swierczewski <[EMAIL PROTECTED]> wrote:
> For example, when compiling on a Linux system one must write
>
> #define __LINUX
>
> at the top of their code before calling the appropriate headers.

I would suggest creating a new header file "my_opentick.h", which
contains:
#define __LINUX
#include <opentick.h>

and then use "my_opentick.h" in the "cdef extern from".

Carl

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to