Przeglądaj źródła

Merge topic 'compile-with-cray'

fd63722d cmcurl: Fix a build failure with the Cray compiler on Linux (#15026)
Brad King 11 lat temu
rodzic
commit
96f2a2a2ed
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Utilities/cmcurl/hostip.c

+ 1 - 1
Utilities/cmcurl/hostip.c

@@ -609,7 +609,7 @@ Curl_addrinfo *Curl_ip2addr(in_addr_t num, const char *hostname, int port)
   h = &buf->hostentry;
   h = &buf->hostentry;
   h->h_addr_list = &buf->h_addr_list[0];
   h->h_addr_list = &buf->h_addr_list[0];
   addrentry = &buf->addrentry;
   addrentry = &buf->addrentry;
-#ifdef _CRAYC
+#ifdef _CRAY
   /* On UNICOS, s_addr is a bit field and for some reason assigning to it
   /* On UNICOS, s_addr is a bit field and for some reason assigning to it
    * doesn't work.  There must be a better fix than this ugly hack.
    * doesn't work.  There must be a better fix than this ugly hack.
    */
    */