James McIninch <ja*******************@comcast.net> writes:
#include "lua/lua.h"
... for both Linux and Windows. Keep in mind the '\' indicates an escape
sequence (think '\n', '\r', '\0' and so on).
Please don't top-post. Your response goes below the quoted text.
The '\' doesn't necessarily indicate an escape sequence in a header
name. Even though it's delimited by '"' characters, the stuff
following the "#include" is not actually a string literal token.
C99 6.4.7 says that if a '\' character occurs between the "" or <>
delimiters in an include directive, the behavior is undefined (though
an implementation is free to define the behavior if it chooses to do
so).
Consult the documentation for your compiler.
--
Keith Thompson (The_Other_Keith)
ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.