diff options
author | nyamatongwe <devnull@localhost> | 2000-11-21 13:04:16 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2000-11-21 13:04:16 +0000 |
commit | 2498917aae1f0e4cd1ebefe2907fe1624d237f70 (patch) | |
tree | a35d067bf5a9d8b47dfc3a65501398174558c58d /src/PropSet.cxx | |
parent | 4ce248a696568051a79ecceba8182432552e81ea (diff) | |
download | scintilla-mirror-2498917aae1f0e4cd1ebefe2907fe1624d237f70.tar.gz |
Changes by Walter to make work on OpenVMS.
Diffstat (limited to 'src/PropSet.cxx')
-rw-r--r-- | src/PropSet.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/PropSet.cxx b/src/PropSet.cxx index d5be286e1..48b6cc782 100644 --- a/src/PropSet.cxx +++ b/src/PropSet.cxx @@ -315,7 +315,11 @@ void PropSet::ReadFromMemory(const char *data, int len, const char *directoryFor void PropSet::Read(const char *filename, const char *directoryForImports) { char propsData[60000]; +#ifdef __vms + FILE *rcfile = fopen(filename, "r"); +#else FILE *rcfile = fopen(filename, "rb"); +#endif if (rcfile) { int lenFile = fread(propsData, 1, sizeof(propsData), rcfile); fclose(rcfile); |