projects
/
oweals
/
cde.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libDtSearch: Remove optional code for NO_DBN which is not used on CDE
[oweals/cde.git]
/
cde
/
programs
/
nsgmls
/
CmdLineApp.C
diff --git
a/cde/programs/nsgmls/CmdLineApp.C
b/cde/programs/nsgmls/CmdLineApp.C
index 4ba7cbcbce727c58b587f346d16ec60de046b525..3dd4310fec270eef93980e6a861eb7f9c25befb6 100644
(file)
--- a/
cde/programs/nsgmls/CmdLineApp.C
+++ b/
cde/programs/nsgmls/CmdLineApp.C
@@
-16,7
+16,7
@@
* details.
*
* You should have received a copy of the GNU Lesser General Public
* details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with these librar
ar
ies and programs; if not, write
+ * License along with these libraries and programs; if not, write
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
* Floor, Boston, MA 02110-1301 USA
*/
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
* Floor, Boston, MA 02110-1301 USA
*/
@@
-58,7
+58,7
@@
#include "ConsoleOutput.h"
#include "ConsoleOutput.h"
-#if defined(
linux) || defined(CSRG_BASED
)
+#if defined(
__linux__) || defined(CSRG_BASED) || defined(sun
)
#include <iostream>
#include <fstream>
using namespace std;
#include <iostream>
#include <fstream>
using namespace std;
@@
-292,7
+292,7
@@
Boolean CmdLineApp::openFilebufWrite(filebuf &file,
return 0;
return file.attach(fd) != 0;
#else
return 0;
return file.attach(fd) != 0;
#else
-#if defined(
linux) || defined(CSRG_BASED
)
+#if defined(
__linux__) || defined(CSRG_BASED) || defined(sun
)
return file.open(filename, ios::out|ios::trunc) != 0;
#else
return file.open(filename, ios::out|ios::trunc|IOS_BINARY) != 0;
return file.open(filename, ios::out|ios::trunc) != 0;
#else
return file.open(filename, ios::out|ios::trunc|IOS_BINARY) != 0;