Skip to content

Commit

Permalink
OpenWATCOM C/C++ lacks this function. Or maybe has it under another n…
Browse files Browse the repository at this point in the history
…ame. But we'll just use plain ol' sin() for the job.
  • Loading branch information
Bill-Gray committed May 1, 2018
1 parent cf771a2 commit b55e6f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions delta_t.cpp
Expand Up @@ -24,6 +24,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
#include "watdefs.h"
#include "afuncs.h"

#ifdef __WATCOMC__
#define sinl(x) ((long double)sin((double)x))
#endif

/* 2013 Feb 1: (BJG) Corrected some comments; also revised td_minus_ut( )
to check default_delta_t_string only for years before 1620. This should
have zero effect on the results, but should save some CPU cycles. */
Expand Down

0 comments on commit b55e6f4

Please sign in to comment.