Changeset db8559 in git


Ignore:
Timestamp:
Feb 11, 2002, 1:03:58 PM (21 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
Children:
bd59178f61b0d020cc0cf4b16a448d78a242dfce
Parents:
ee2c298cf0d2f434245b20c263dd6cf6a731d450
Message:
*hannes: WINNT ->ix86_Win


git-svn-id: file:///usr/local/Singular/svn/trunk@5856 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
Singular
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Singular/emacs.cc

    ree2c29 rdb8559  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: emacs.cc,v 1.21 2001-10-09 16:35:57 Singular Exp $ */
     4/* $Id: emacs.cc,v 1.22 2002-02-11 12:03:58 Singular Exp $ */
    55/*
    66* ABSTRACT: Esingular main file
     
    1313#include <string.h>
    1414
    15 #ifdef WINNT
     15#ifdef ix86_Win
    1616#include <windows.h>
    1717#endif
     
    4444#  define  UP_DIR ".."
    4545
    46 #ifndef WINNT
     46#ifndef ix86_Win
    4747void error(const char *fmt, ...)
    4848{
     
    196196  }
    197197
    198 #ifdef WINNT
    199 #define EXTRA_XTERM_ARGS "+vb -sl 2000 -fb Courier-bold-13 -tn linux -cr Red3"
     198#ifdef ix86_Win
     199#define EXTRA_XTERM_ARGS "+vb -sl 2000 -fb Courier-bold-12 -tn linux -cr Red3"
    200200#else
    201201#define EXTRA_XTERM_ARGS ""
     
    256256      if ((emacs_load==NULL)||(!access(emacs_load,X_OK)))
    257257        emacs_load = getenv("SINGHOME");
    258 #endif 
     258#endif
    259259      sprintf(cwd, "%s/.emacs-singular", emacs_load);
    260260      if (! access(cwd, R_OK))
  • Singular/feResource.cc

    ree2c29 rdb8559  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: feResource.cc,v 1.33 2002-01-29 17:26:47 Singular Exp $ */
     4/* $Id: feResource.cc,v 1.34 2002-02-11 12:03:58 Singular Exp $ */
    55/*
    66* ABSTRACT: management of resources
     
    3131
    3232#if defined(MAKE_DISTRIBUTION)
    33 #if defined(WINNT) && ! defined(__CYGWIN__)
     33#if defined(ix86_Win) && ! defined(__CYGWIN__)
    3434#define SINGULAR_DEFAULT_DIR "/Singular/"S_VERSION1
    3535#elif defined(macintosh)
     
    9090  {"info",      'I',    feResBinary,"INFO",                 "%b/info",              ""},
    9191  {"tkinfo",    'T',    feResBinary,"TKINFO",               "%b/tkinfo",            ""},
    92 #ifdef WINNT
     92#ifdef ix86_Win
    9393  {"rxvt",     'X',    feResBinary,"RXVT",                "%b/rxvt",             ""},
    9494#else
     
    122122
    123123char fePathSep =
    124 #if defined(WINNT)
     124#if defined(ix86_Win)
    125125';'
    126126#elif defined(macintosh)
     
    143143static void mystrcpy(char* d, char* s);
    144144static char* feSprintf(char* s, const char* fmt, int warn = -1);
    145 #if defined(WINNT) && defined(__GNUC__)
     145#if defined(ix86_Win) && defined(__GNUC__)
    146146// utility function of Cygwin32:
    147147extern "C" int cygwin32_posix_path_list_p (const char *path);
     
    180180void feInitResources(char* argv0)
    181181{
    182 #if defined(WINNT) && defined(__GNUC__)
     182#if defined(ix86_Win) && defined(__GNUC__)
    183183  if (cygwin32_posix_path_list_p (getenv("PATH")))
    184184    fePathSep = ':';
     
    410410  }
    411411#ifndef macintosh
    412 #ifdef WINNT // stupid WINNT sometimes gives you argv[0] within ""
     412#ifdef ix86_Win // stupid WINNT sometimes gives you argv[0] within ""
    413413  if (*feArgv0 == '"')
    414414  {
     
    479479      printf("Clean value:%s\n", value);
    480480#endif
    481 #ifdef WINNT
     481#ifdef ix86_Win
    482482#ifdef RESOURCE_DEBUG
    483483      printf("Clean WINNT value:%s\n", value);
  • Singular/fehelp.cc

    ree2c29 rdb8559  
    9191static heBrowser_s heHelpBrowsers[] =
    9292{
    93 #ifdef WINNT
     93#ifdef ix86_Win
    9494  { "html",     heDummyInit,    heHtmlHelp},
    9595  { "winhlp",   heDummyInit,    heWinHelp},
     
    204204    // First, try emacs, if emacs-option is set
    205205    // Under Win, always use html
    206 #ifndef WINNT
     206#ifndef ix86_Win
    207207    if (feOptValue(FE_OPT_EMACS) != NULL)
    208208    {
     
    757757    return FALSE;
    758758  }
    759 #ifndef WINNT
     759#ifndef ix86_Win
    760760  if (getenv("DISPLAY") == NULL)
    761761  {
     
    805805    sprintf(url, "%s%s/index.htm", urltype, htmldir);
    806806  }
    807 #ifndef WINNT
     807#ifndef ix86_Win
    808808  sprintf(sys, "%s --remote 'OpenUrl(%s)' > /dev/null 2>&1",
    809809#else
     
    890890  char sys[MAX_SYSCMD_LEN];
    891891
    892 #ifdef WINNT
    893 #define EXTRA_XTERM_ARGS "+vb -sb -fb Courier-bold-13 -tn linux -cr Red3"
     892#ifdef ix86_Win
     893#define EXTRA_XTERM_ARGS "+vb -sb -fb Courier-bold-12 -tn linux -cr Red3"
    894894#else
    895895#define EXTRA_XTERM_ARGS ""
     
    916916static BOOLEAN heTkinfoInit(int warn)
    917917{
    918 #ifndef WINNT
     918#ifndef ix86_Win
    919919  if (getenv("DISPLAY") == NULL)
    920920  {
Note: See TracChangeset for help on using the changeset viewer.