/ Check-in [16f7ba4a]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Remove the unused SQLITE_CURDIR macro.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 16f7ba4afaa69f6150b4defd4ddf5800f5d23084
User & Date: drh 2013-04-16 14:58:52
Context
2013-04-16
18:24
Omit sqlite3_compileoption_used() entries that are not explicitly stated on the compiler command-line, except keep SQLITE_THREADSAFE around so that there is always at least one compilation option. check-in: 109d6767 user: drh tags: trunk
14:58
Remove the unused SQLITE_CURDIR macro. check-in: 16f7ba4a user: drh tags: trunk
14:52
Disable memory-mapped I/O when the codec is enabled. check-in: 340cca30 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/ctime.c.

    44     44   #endif
    45     45   #ifdef SQLITE_CHECK_PAGES
    46     46     "CHECK_PAGES",
    47     47   #endif
    48     48   #ifdef SQLITE_COVERAGE_TEST
    49     49     "COVERAGE_TEST",
    50     50   #endif
    51         -#ifdef SQLITE_CURDIR
    52         -  "CURDIR",
    53         -#endif
    54     51   #ifdef SQLITE_DEBUG
    55     52     "DEBUG",
    56     53   #endif
    57     54   #ifdef SQLITE_DEFAULT_LOCKING_MODE
    58     55     "DEFAULT_LOCKING_MODE=" CTIMEOPT_VAL(SQLITE_DEFAULT_LOCKING_MODE),
    59     56   #endif
    60     57   #ifdef SQLITE_DEFAULT_MMAP_SIZE

Changes to src/os.h.

    95     95   ** Determine if we are dealing with WinRT, which provides only a subset of
    96     96   ** the full Win32 API.
    97     97   */
    98     98   #if !defined(SQLITE_OS_WINRT)
    99     99   # define SQLITE_OS_WINRT 0
   100    100   #endif
   101    101   
   102         -/*
   103         -** When compiled for WinCE or WinRT, there is no concept of the current
   104         -** directory.
   105         - */
   106         -#if !SQLITE_OS_WINCE && !SQLITE_OS_WINRT
   107         -# define SQLITE_CURDIR 1
   108         -#endif
   109         -
   110    102   /* If the SET_FULLSYNC macro is not defined above, then make it
   111    103   ** a no-op
   112    104   */
   113    105   #ifndef SET_FULLSYNC
   114    106   # define SET_FULLSYNC(x,y)
   115    107   #endif
   116    108   

Changes to src/test_config.c.

    53     53   
    54     54   #ifdef SQLITE_CASE_SENSITIVE_LIKE
    55     55     Tcl_SetVar2(interp, "sqlite_options","casesensitivelike","1",TCL_GLOBAL_ONLY);
    56     56   #else
    57     57     Tcl_SetVar2(interp, "sqlite_options","casesensitivelike","0",TCL_GLOBAL_ONLY);
    58     58   #endif
    59     59   
    60         -#ifdef SQLITE_CURDIR
           60  +#if !SQLITE_OS_WINCE && !SQLITE_OS_WINRT
    61     61     Tcl_SetVar2(interp, "sqlite_options", "curdir", "1", TCL_GLOBAL_ONLY);
    62     62   #else
    63     63     Tcl_SetVar2(interp, "sqlite_options", "curdir", "0", TCL_GLOBAL_ONLY);
    64     64   #endif
    65     65   
    66     66   #ifdef SQLITE_DEBUG
    67     67     Tcl_SetVar2(interp, "sqlite_options", "debug", "1", TCL_GLOBAL_ONLY);