tcberner added a comment.

  We talked about it some more, and think that it is maybe better to not do any 
cmake magic.
  
    #ifdef st_birthtime
      if (buff.st_birthtime > 0) {
                entry.insert(KIO::UDSEntry::UDS_CREATION_TIME, 
buff.st_birthtime);
            }
    #endif
    #ifdev __st_birthtime 
      if (buff.__st_birthtime > 0) {
                entry.insert(KIO::UDSEntry::UDS_CREATION_TIME, 
buff.__st_birthtime);
            }
    #endif 
  
  and so on. The first would add it for FreeBSD/NetBSD and the second for 
OpenBSD -- given, that the syscall for linux will be completely different too.

REPOSITORY
  R241 KIO

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D5138

To: tcberner, arrowdodger, rakuco, dfaure, adridg
Cc: aacid, kfunk, emmanuelp, #frameworks

Reply via email to