You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2014/12/31 03:33:13 UTC
[jira] [Created] (TS-3268) Superfluous #ifdef in proxy/CoreUtils.cc
Leif Hedstrom created TS-3268:
---------------------------------
Summary: Superfluous #ifdef in proxy/CoreUtils.cc
Key: TS-3268
URL: https://issues.apache.org/jira/browse/TS-3268
Project: Traffic Server
Issue Type: Bug
Components: Core
Reporter: Leif Hedstrom
This seems odd / wonky to me:
{code}
#if defined(darwin) || defined(freebsd) || defined(solaris) || defined(openbsd) // FIXME: solaris x86
// TODO: Cleanup multiple includes
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <math.h>
#include "libts.h"
#include "CoreUtils.h"
#endif /* darwin || freebsd || solaris */
{code}
None of these seem specific to *BSD, and some are included elsewhere anyways. It seems we ought to be eliminate this, or possibly, narrow down the ifdef to not be platform specific (but depending on existence of include files the normal autoconf way).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)