bugMail Notification, A mail notification for freedesktop.org-compliant system trays - Bugs: bug #19646, old solaris doesn't have stdint.h

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #19646: old solaris doesn't have stdint.h

Submitted by:  -Deleted Account- <lexort>
Submitted on:  Fri 20 Apr 2007 06:17:06 PM UTC  
 
Severity: 2 - MinorStatus: Wont Fix
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Closed

Sat 09 Jun 2007 05:15:53 PM UTC, comment #1:

stdint.h is a standard C99 header. I prefer to leave the burden of handling obsolete systems to the distributors who choose to support these systems.

Jean-Yves Lefort <jylefort>
Project Administrator
Fri 20 Apr 2007 06:17:06 PM UTC, original submission:

According to pkgsrc cvs logs, older solaris versions don't have stdint.h. There was a patch for 3.0 which included sys/types.h, but something like this was suggested to me in private mail.

AC_CHECK_HEADERS(stdint.h inttypes.h)

#ifdef HAVE_STDINT_H
# include <stdint.h>
#else
# ifdef HAVE_INTTYPES_H
# include <inttypes.h>
# if defined(__sun) && !defined(u_int32_t)
# define u_int32_t uint32_t
# endif
# endif
#endif

This snippet is based on the old patch, but as MN no longer uses u_int32_t, probably then just including inttypes.h is all that is needed.

-Deleted Account- <lexort>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jylefort (Posted a comment)
  • -unavailable- added by lexort (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 09 Jun 2007 05:15:53 PM UTCjylefortStatusNone=>Wont Fix
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1