Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Macro definition in Pro*C header file
Hello,
I have a Pro*C file that includes a header file. Inside the header file I define a macro first, then define an include statement as:
#define MEMINCLUDE <memory.h>
#include MEMINCLUDE
When I compile, I encounter error message from Pro*C precompiler:
Preprocessor error at line 244, column 10, file ../../datamover/tputdefs.h:
#include MEMINCLUDE
.........1
(1) PCC-S-02015, unable to open include file
This error message appears 3 times.
Can I have any idea how to let Pro*C recognize the macro?
Thanks.
-- Miao Wei Shan wsmiao_at_d2k.com.sgReceived on Tue Mar 04 1997 - 00:00:00 CST
![]() |
![]() |