Changeset 57aada in git
- Timestamp:
- Oct 1, 2014, 2:57:59 PM (9 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'c18334b998a8adbf0013b8e1ce0824774019443e')
- Children:
- 75ef2974c275b76431a0aaf72d5136dad3c63b63
- Parents:
- 351717f210df19b5dd8d203ad7fc30592d9516c6
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/help.cnf
r351717f r57aada 25 25 # the default help browsers builtin, dummy and emacs are always 26 26 # available and should NOT be mentioned here 27 # ix86_Win: has additional default browsers: htmlhelp, html and winhlp27 # __CYGWIN__: has additional default browsers: htmlhelp, html and winhlp 28 28 # also not mentioned here 29 29 #---------------------------------------------------- -
Singular/sing_win.cc
r351717f r57aada 11 11 12 12 #include <kernel/mod2.h> 13 #ifdef ix86_Win13 #ifdef __CYGWIN__ 14 14 #include <windows.h> 15 15 #include <winuser.h> … … 110 110 } 111 111 112 #endif /* ix86_Win*/112 #endif /*__CYGWIN__ */ -
Singular/sing_win.h
r351717f r57aada 2 2 #define SING_WIN_H 3 3 4 #ifdef ix86_Win4 #ifdef __CYGWIN__ 5 5 6 6 void heOpenWinHtmlHelp(const char* keyw, char* helppath ); … … 8 8 void heOpenWinntUrl(const char* url, int local); 9 9 10 #endif /* ix86_Win*/10 #endif /*__CYGWIN__ */ 11 11 #endif /* SING_WIN_H */ -
kernel/oswrapper/feread.cc
r351717f r57aada 14 14 15 15 //---------------------------------------- 16 #ifdef ix86_Win16 #ifdef __CYGWIN__ 17 17 #define READLINE_STATIC 18 18 #endif -
kernel/oswrapper/fereadl.c
r351717f r57aada 190 190 else 191 191 { 192 #ifndef ix86_Win192 #ifndef __CYGWIN__ 193 193 extern char *BC; 194 194 extern char *UP; -
kernel/spectrum/semic.cc
r351717f r57aada 24 24 25 25 #include <string.h> 26 27 #ifndef ix86_Win28 //#include<values.h>29 #endif30 26 31 27 #include <misc/intvec.h> -
resources/feFopen.cc
r351717f r57aada 53 53 { 54 54 const char* home = getenv("HOME"); 55 #ifdef ix86_Win55 #ifdef __CUGWIN__ 56 56 if ((home==NULL)||(!access(home,X_OK))) 57 57 home = getenv("SINGHOME"); … … 166 166 FILE* myfopen(const char *path, const char *mode) 167 167 { 168 #if (defined( CYGWIN) || defined(ix86_Win))168 #if (defined(__CUGWIN__)) 169 169 char mmode[4]; 170 170 int i; -
resources/feResource.cc
r351717f r57aada 87 87 {"IdxFile", 'x', feResFile, "SINGULAR_IDX_FILE", "%D/doc/singular.idx", (char *)""}, 88 88 {"HtmlDir", 'h', feResDir, "SINGULAR_HTML_DIR", "%D/singular/html", (char *)""}, 89 #ifdef ix86_Win89 #ifdef __CYGWIN__ 90 90 {"HtmlHelpFile",'C', feResFile, "SINGULAR_CHM_FILE", "%r/doc/Manual.chm", (char *)""}, 91 91 #endif … … 100 100 {"EmacsDir", 'e', feResDir, "ESINGULAR_EMACS_DIR", "%D/singular/emacs", (char *)""}, 101 101 {"SingularXterm",'M', feResBinary,"TSINGULAR_SINGULAR", "%b/Singular", (char *)""}, 102 #ifdef ix86_Win102 #ifdef __CYGWIN__ 103 103 {"rxvt", 'X', feResBinary,"RXVT", "%b/rxvt", (char *)""}, 104 104 #else … … 130 130 static void mystrcpy(char* d, char* s); 131 131 static char* feSprintf(char* s, const char* fmt, int warn = -1); 132 #if defined( ix86_Win) && defined(__GNUC__)132 #if defined(__CYGWIN__) && defined(__GNUC__) 133 133 // utility function of Cygwin32: 134 134 extern "C" int cygwin32_posix_path_list_p (const char *path); … … 167 167 void feInitResources(const char* argv0) 168 168 { 169 #if defined( ix86_Win) && defined(__GNUC__)169 #if defined(__CYGWIN__) && defined(__GNUC__) 170 170 if (cygwin32_posix_path_list_p (getenv("PATH"))) 171 171 fePathSep = ':'; … … 407 407 return NULL; 408 408 } 409 #ifdef ix86_Win// stupid WINNT sometimes gives you argv[0] within ""409 #ifdef __CYGWIN__ // stupid WINNT sometimes gives you argv[0] within "" 410 410 if (*feArgv0 == '"') 411 411 { … … 471 471 printf("Clean value:%s\n", value); 472 472 #endif 473 #ifdef ix86_Win473 #ifdef __CYGWIN__ 474 474 #ifdef RESOURCE_DEBUG 475 475 printf("Clean WINNT value:%s\n", value); -
resources/feResource.h
r351717f r57aada 57 57 const char fePathSep = 58 58 /* not really cygwin, applies to all windows systems:*/ 59 #if (defined( CYGWIN) || defined(ix86_Win))59 #if (defined(__CYGWIN__)) 60 60 ';' 61 61 #else
Note: See TracChangeset
for help on using the changeset viewer.