[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LYNX-DEV LOCAL_DOMAIN Syntax Error
From: |
Hiram Lester, Jr. |
Subject: |
Re: LYNX-DEV LOCAL_DOMAIN Syntax Error |
Date: |
Sun, 8 Dec 1996 13:20:00 -0600 (CST) |
On Sun, 8 Dec 1996, Wilhelm Reindl wrote:
> On compiling I get hung up on one in particular (probably just the first
> :} ) I simply uncommented the following "erroneous" line in userdefs.h and
> changed the text in the quotes.
> define LOCAL_DOMAIN "tc.umn.edu"
> -------^
Ok, it looks like what you've done is removed the # before the word
define. The # is NOT a comment chanracter since this is a C file (.h
files are part of C). # characters in the first column signal the start
of a "pre-processor" directive (a file should be included here, a
pre-processor macro should be defined, etc. before handing this off to the
actual compiler). In this case, #define tells the pre-processor to define
a macro called LOCAL_DOMAIN and that everywhere it sees an unquoted
"LOCAL_DOMAIN" in the code to change it to "tc.umn.edu" before compiling
it.
+------------------------------------+-------------------------------+
| Hiram W. Lester, Jr. | E-Mail: address@hidden |
| Computer Science | Home page: |
| Middle Tennessee State University | http://pobox.com/~hwlester/ |
+------------------------------------+-------------------------------+
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;