Overview
| Artifact ID: | b73f61e40e6dfb47e6c57f70632e83d3a96ff2974af3bd85d514616b7c647c58 |
|---|---|
| Ticket: | 6b8e39e83f9855c79c3c2777f12fb3bd90424912
On Unix, IsTimeNative() always defined but not always used |
| User & Date: | stu on 2025-07-02 06:43:40 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-plain"
- comment changed to:
... resulting in a compiler warning. Here is a patch to put an #if around the function. --- unix/tclUnixTime.c.orig +++ unix/tclUnixTime.c @@ -43,11 +43,13 @@ GetTime( tclGetTimeProcPtr(timePtr, tclTimeClientData); } +#if defined(NO_GETTOD) || defined(TCL_WIDE_CLICKS) static inline int IsTimeNative(void) { return tclGetTimeProcPtr == NativeGetTime; } +#endif /* *---------------------------------------------------------------------- - foundin changed to: "current"
- is_private changed to: "0"
- login: "stu"
- priority changed to: "5 Medium"
- private_contact changed to: "702b65e835b7b4b4720d6e9d37fc582f82909394"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "stu"
- subsystem changed to: "06. Time Measurement"
- title changed to:
On Unix, IsTimeNative() always defined but not always used
- type changed to: "Patch"